In Xcode 5 you could show the bottom view and show the debugger console. But in xcode 6 I'm getting no data when running on the simulator. What gives?
When you run an application in Xcode, the debugger is automatically started and attached to the process of the application. Click the Run button in the top left or press Command + R. From the moment the application is up and running, we can start inspecting the process and, if necessary, debug it.
To open the Debug Console, use the Debug Console action at the top of the Debug pane or use the View: Debug Console command (Ctrl+Shift+Y).
A great approach to finding and fixing bugs in Xcode is by using breakpoints. With a breakpoint, the Xcode debugger can stop your code at almost any moment and show you the exact state of your app at that point. You can do that by adding a breakpoint to a line of code in your app.
The Debug Console allows you to issue commands to the debug engine. It also allows you to view output from the engine and see results of commands that you have issued.
Go to XCode -> Preferences -> Behaviors -> Select “Starts” in Running -> Select “Show” debugger With “Variables & Console View”
than select the "Hide or show the Debug area" Button
and Now click on Small Arrow Button
i think it might be helpful in your case. For more info you can see here.
Nothing of the above worked for me, but Rob´s answer helped me to find the solution. I had to activate the console in View > Debug Area > Activate Console (shift-command-C)
In addition to Bhumit's answer, you can also choose View > Debug Area > Show Debug Area from the menu bar.
The default keyboard shortcut to show or hide the debug area is ⇧⌘Y (shift-command-Y).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With