debugger is slow to respond to "Suspend" button [message #67195] |
Wed, 23 April 2003 21:01 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05049 seconds