Page 1 of 1

Output window empty

Posted: Thu Nov 10, 2011 12:45 am
by foxmuldr
I have not used Codelite for some time, since the mid-4000s, so maybe I missed something. I have recently ugpraded to 5243, and today to 5245. I'm finding no output is being captured or displayed while running. For example, this simple auto-generated program for a new project does not show its printf() content to the output window if a breakpoint is set on return 0;

Ubuntu 10.04, Intel Pentium Dual-Core laptop, 2GB memory, GNU's g++ 4.5.3 20110103 (prerelease):

Code: Select all

#include <stdio.h>

int main(int argc, char **argv)
{
	printf("hello world\n");
	return 0;
}
I get output under Build, Errors and the Debug's Output window generates content. But the cursor just flashes in the upper-left of the Output window with no program content being displayed. Running the same from the command prompt gives "hello world".

Is there a setting I'm missing somewhere? Or a new feature?

Note: I've also noticed on 5243 and 5245 (at least), that it doesn't have the "Build completed. Please run 'sudo make install'" message.

Re: Output window empty

Posted: Thu Nov 10, 2011 9:38 am
by eranif
foxmuldr wrote: I'm finding no output is being captured or displayed while running
Is this during 'Run' or ' Debug ' ?

If it is during debug: stop the debugger, and reset the view from: View -> Restore Default Layout, try to debug again

If its during 'Run' (Ctrl-F5) see if you get any errors in the 'Trace' tab
Eran

Re: Output window empty

Posted: Thu Nov 10, 2011 5:23 pm
by foxmuldr
eranif wrote:Is this during 'Run' or ' Debug ' ?
Debug.
If it is during debug: stop the debugger, and reset the view from: View -> Restore Default Layout, try to debug again
'Restore Default Layout' fixed it. Thanks!

I have a program that takes a couple minutes initially to generate all of the data used from that point forward. It normally provides information from all of the threads that are running to the output window so I can see what step it's on. I ran the program yesterday, but there was no feedback. I thought it wasn't running, and then suddenly after the couple minutes, it launched its OpenGL window and began displaying data. Freaked me out. :lol: