Xcode 4: How do you view the console?

前端 未结 8 927
别跟我提以往
别跟我提以往 2020-12-02 16:14

I can\'t seem to find a way to have the console run (to show NSLog comments) in XCode 4. The normal method for the previous version of XCode does not work. Does anyone have

相关标签:
8条回答
  • 2020-12-02 17:01

    If you just want to have the log output display when you run your app then you can go into XCode4 preferences -> Alerts and click on 'Run starts' on the left hand column.

    Then select 'Show Debugger' and when you run the app the NSLog output will be displayed below the editor pane.

    This way you don't have to select on the 'up arrow' button at the bottom bar.

    0 讨论(0)
  • 2020-12-02 17:02

    You need to click Log Navigator icon (far right in left sidebar). Then choose your Debug/Run session in left sidebar, and you will have console in editor area.

    enter image description here

    0 讨论(0)
提交回复
热议问题