Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » debugger is slow to respond to "Suspend" button
debugger is slow to respond to "Suspend" button [message #67195] Thu, 24 April 2003 01:01
Eclipse UserFriend
Originally posted by: andrayk.futureway.com

Hello,

I am using Eclipse 2.1.0 with CDT 1.0.1 on RedHat 8.0/KDE.

My program is basically an infinite loop with printf() calls
inside. I found that when I am running it under debugger, if
I press "Suspend" button in Debug view (or select "Suspend"
from Debug top menu), program doesn't stop immediately. Instead,
it continues to run for at least 15 more seconds, with output
continuing to be printed in Console view. After that program
does stop, but output still continues to be printed in Console
view for yet another 10 or 15 seconds; after that it stops.

I previously was debugging this program with Kdbg, and had absolutely
no problems with stopping this program at any time I want.

I tried calling setvbuf(stdout, NULL, _IONBF,0) at the beginning of
my program, but it didn't change anything.

Is there a way to make program's execution synchronous with it's
output in Console view, and to halt program's execution instantly ?

Another question. Why does program's output go to Console view and not
to the Output view ?

Thanks in advance and regards,
Andray
Previous Topic:Brief-mode for editor
Next Topic:[Q] CDT doesn't support auto-complement funtions?
Goto Forum:
  


Current Time: Thu Jul 18 09:08:31 GMT 2024

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

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

Back to the top