Page 1 of 1

Is the Console output readable from a file?

Posted: Mon Oct 11, 2010 6:32 am
by barttech
When I rebuild my system files I sometimes see errors which then get cleared and can't be read. I know I can use the command line instead, but even then they are getting scrolled off the virtual screen. I have to do make > make.txt, then only the errors show on the screen. Does the console output go to a file somewhere so it can all be read? This would be helpful at times.
Thanks,
Sam

Re: Is the Console output readable from a file?

Posted: Mon Oct 11, 2010 1:28 pm
by tod
I tried changing the settings under Window->Preferences->C/C++->Build Console, but no joy. Just in case you don't know, you can increase the DOS windows virtual size to 9999 lines. Drag a shortcut for the DOS prompt somewhere convenient, then right-click it and select Properties. See the attached image.
CommandPromptProperties.png
CommandPromptProperties.png (39.94 KiB) Viewed 5627 times

Re: Is the Console output readable from a file?

Posted: Mon Oct 11, 2010 1:36 pm
by Forrest
Which release are you using? This used to occur, but I patched in a fix to make the rebuild system files fail if an error occurs. It should stop at the error. I believe this went in to affect in 2.4

Re: Is the Console output readable from a file?

Posted: Mon Oct 11, 2010 3:20 pm
by barttech
I'm using Rel24_RC2. I can see the errors display but then the console is cleared and more messages come up. The final dialog will tell me tehre are errors and to check the console, but the console appears as though everythign went correctly.
Sam

Re: Is the Console output readable from a file?

Posted: Mon Oct 11, 2010 7:02 pm
by barttech
And thanks, Tod. I think I knew about the ability to expand the DOS window but it had slipped to the back of my dusty mind. The make > make.txt works nicely since it only shows the errors in the window, but everything is in the txt file if I need to see it all in context.
Sam

Re: Is the Console output readable from a file?

Posted: Fri Oct 15, 2010 9:31 am
by barttech
In Helios, at least, it is at:
NBurn\NBEclipse\workspace\.metadata\.plugins\org.eclipse.cdt.ui\project.build.log

Can be changed or dis/enabled at Properties\C\C++ Build\Logging.
Sam