My NSLog messages no longer show up in my Debug Area. Anyone have an idea how the could have happened?
I can hit command-7 to bring of a list of logs in the left pa
On an 12.1 Xcode version you can do either:
Option 1: View > Debug Area > Activate Console
Option 2: Shift + cmd + c (to activate console)
Option 3: (if your console is already activated) Shift + cmd + y
Here is a picture for you:
picture that shows menus and options
For me, the answer is to 'activate console'
Go to view -> Debug Area -> Activate Console
If you don't have anything displaying in the logs, the log view will unselect itself and not display itself. You could add a printf
and verify this.
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 select Succeeds
.
d. Enable Show debugger with Current Views
.
e. Select Console View
from the drop-down list.
For me, "Debug Executable" in Scheme Settings (Product-->Scheme-->Edit Scheme: Run) had been unchecked.
if you want to display Debug area always, then follow these steps:
Show tab named
Show tab named
separate window
in dropdown next to Textboxdebugger with
and select Console View
in the dropdownNow when you will run our app, console window will popout itself.
And shortcut key for this is command+shift+y