Console doesn't update properly [message #1180779] |
Mon, 11 November 2013 06:34 |
Michael Schneider Messages: 2 Registered: November 2013 |
Junior Member |
|
|
Hi together,
I just realized a problem with my console.
History:
I´m working all day with eclipse IDE (C-project, used the hello world as base, cygwin) without problems about the console.
There are a couple of printf s in my program which are printed to the console properly.
After adding a couple of features to my code (not touching the working code) i realized that my console only updates when my program is ended.
So, if I set a breakpoint for example after a printf, I cant see that print. But I can see it, if the program has come to an end and the debug session is terminated.
What also happens is with that code and a normal Run, no Debug:
printf("Please enter the amount of elements : \n");
scanf("%d", &size);
I cant see that print and "need to guess" that I have to enter a number now.
After the completion of the programm its visible in the console. But the number I have entered is gone there.
I also tryed some old, working code (from another project) which i definitely didn´t change and have the same behaviour.
Maybe i changed/deleted any setting of eclipse with some exceptions caused by build fails?
Thanks for your help!
|
|
|
Powered by
FUDForum. Page generated in 0.01812 seconds