Xcode 4 - Debug Area no longer shows my console output (NSLog)

I had the same issue. Below are fix for this :

  1. You console may be hidden. Press Show the console button present in right corner (blue coloured when console is open).

    Screenshot 1

  2. You may be displaying Debugger or Target output. Select All Output (Checkmark is displayed when selected).

Screenshot 2

  1. a. Open Xcode preference (shortcut: cmd + ,).

    b. Select Behaviours tab from pop-up.

    c. From the Build sections select Succeeds.

    d. Enable Show debugger with Current Views.

    e. Select Console View from the drop-down list.

Screenshot 3

Screenshot 4


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 select Console View in the dropdown

enter image description here

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

Tags:

Xcode4