Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Debugger stoped when 'cout' oceans of messages in debugging mode
Debugger stoped when 'cout' oceans of messages in debugging mode [message #147363] Fri, 24 June 2005 02:23 Go to next message
Eclipse UserFriend
Originally posted by: james.guo.francetelecom.com.cn

Hi, all,
This problem appears when I debug the program in eclipse. For example:

#include <vector.h>

int main(int argc, char *argv[])
{
for (int i=0;i<=50000000;i++)
{
cout << "the program is running. count is : " << i << "." << endl;
}
cout << "the program will terminate." << endl;
return 0;
}

When I debug the code in eclipse, using gdb as a debugger, the code can't
run to end successfully. It will stop at "the program is running. count is
: 708617." or it will stop at some other place where the output is "the
program is running. count is : XXXXXX". But if you debug the code in gdb
directly, the program can complete successfully.

What's wrong with my eclipse? How to solve the problems?
Re: Debugger stoped when 'cout' oceans of messages in debugging mode [message #147647 is a reply to message #147363] Tue, 28 June 2005 03:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: james.guo.francetelecom.com.cn

Nobody care about the question?
Re: Debugger stoped when 'cout' oceans of messages in debugging mode [message #147662 is a reply to message #147647] Tue, 28 June 2005 05:43 Go to previous message
Eclipse UserFriend
Originally posted by: bop.gmb.dk

"James Guo" <james.guo@francetelecom.com.cn> skrev i meddelandet
news:eab60f48be663dae8062e06d6934f1f1$1@www.eclipse.org...
> Nobody care about the question?
>

Perhaps nobody knows the answer?


Bo Persson
Previous Topic:Previous Declaration of
Next Topic:Eclipse and msp430
Goto Forum:
  


Current Time: Sun Jun 08 15:32:52 EDT 2025

Powered by FUDForum. Page generated in 0.03380 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top