Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
440 views
in Technique[技术] by (71.8m points)

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

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 pane, select the latest one and view it in my editor window, but it is extremely annoying compared to having the console output in the debug area.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...