No output in console in xcode 4.2...

I just jumped from xcode 3.2 to 4.2 and for some reason the console doesn't display anything when I build. Xcode will say build succeeded and when I compile the .cpp file in terminal with g++ it works fine, but xcode won't show anything in the console. It's driving me crazy becaue the mac at my work seems to be set up in an identical fashion and it outputs without any problems. Any thoughts? (c++)

xcode-OTHER, Mac OS X (10.7.2)

Posted on Nov 8, 2011 9:07 PM

Reply
5 replies

Nov 9, 2011 10:45 AM in response to sfoa

Xcode doesn't display anything in the debug console when you build. The console displays output for command-line programs when you run them in Xcode. Open the log navigator to see the results of the build. Choose View > Navigators > Show Log Navigator to open the log navigator.


If you're running your program in Xcode and the debug console isn't displaying command-line output, that's a different problem. I don't have an answer for that. Command-line output should appear in the debug console.

Nov 30, 2011 3:16 AM in response to Mark Szymczyk

I experience the same problem: the command-line output does not appear in the debug console. The compiled program (an xcode-generated hellow world in C) outputs fine when ran in the Terminal. Any ideas? Thanks!


Mark Szymczyk wrote:


If you're running your program in Xcode and the debug console isn't displaying command-line output, that's a different problem. I don't have an answer for that. Command-line output should appear in the debug console.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

No output in console in xcode 4.2...

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.