Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Console doesn't update properly
Console doesn't update properly [message #1180779] Mon, 11 November 2013 06:34
Michael Schneider is currently offline Michael SchneiderFriend
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!
Previous Topic:GNU multi-precision library in Eclipse CDT
Next Topic:Syntax checking while typing
Goto Forum:
  


Current Time: Thu Apr 18 11:56:37 GMT 2024

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

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

Back to the top