Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you show the debugger console in "xcode 6"

Tags:

xcode

ios

xcode6

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?

like image 847
rowdyruckus Avatar asked Sep 16 '14 05:09

rowdyruckus


People also ask

How do I show debugger in Xcode?

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.

How do I show debug console?

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).

Does Xcode have a debugger?

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.

What is the debug console?

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.


3 Answers

Go to XCode -> Preferences -> Behaviors -> Select “Starts” in Running -> Select “Show” debugger With “Variables & Console View”

enter image description here

than select the "Hide or show the Debug area" Button

enter image description here

and Now click on Small Arrow Button

enter image description here

i think it might be helpful in your case. For more info you can see here.

like image 87
Yasika Patel Avatar answered Sep 23 '22 13:09

Yasika Patel


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)

like image 31
Filip Avatar answered Sep 22 '22 13:09

Filip


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).

like image 43
rob mayoff Avatar answered Sep 25 '22 13:09

rob mayoff