Xcode 4 - Debug Area no longer shows my console output (NSLog)
I had the same issue. Below are fix for this :
You console may be hidden. Press
Show the console
button present in right corner (blue coloured when console is open).You may be displaying Debugger or Target output. Select
All Output
(Checkmark is displayed when selected).
a. Open
Xcode preference
(shortcut: cmd + ,).b. Select
Behaviours
tab from pop-up.c. From the
Build
sections selectSucceeds
.d. Enable
Show debugger with Current Views
.e. Select
Console View
from the drop-down list.
if you want to display Debug area always, then follow these steps:
- Goto XCode > Preferences > Behaviors > Succeeds >
- Check checkbox of
Show tab named
- Type DEBUG in the textbox next to
Show tab named
- select
separate window
in dropdown next to Textbox - Now click checkbox before
debugger with
and selectConsole View
in the dropdown
Now when you will run our app, console window will popout itself.
And shortcut key for this is command+shift+y
Not sure but may be you have clicked on one of the three buttons at the top right corner of the debug area that are used to either show only variables view, only the console or both.
For me, the answer is to 'activate console'
Go to view -> Debug Area -> Activate Console