James Raitsev
James Raitsev

Reputation: 96491

How to show Xcode debugger in a window separate from Xcode?

I was watching a video lecture from iTunes U., where instructor showed how one can take a debugger section of the Xcode and was able to pull that window away from the main.

Unfortunately, video showed instructions on how to do it in Xcode3. How might one do it in Xcode4?

How can one either detach a debugger section or, possibly, configure preferences to do it automatically?

Upvotes: 43

Views: 19000

Answers (3)

yoAlex5
yoAlex5

Reputation: 34401

Xcode 11

Change behaviour

Xcode -> Preferences... -> Behaviors -> Running -> Starts -> Show tab named <tab_name> in active window

After that <tab_name> tab will be opened automatically

To create a new tab manually:

  1. Create a new tab
File -> New -> Tab
  1. Rename the tab
Window -> Rename Tab... -> <tab_name>

Upvotes: 3

Daniel Eckhart
Daniel Eckhart

Reputation: 1099

Open a new tab, show the debugger (cmd-shift-Y) and drag the divider all the way to the top. Close the navigator (cmd-0) and inspector windows (cmd-opt-0), then drag the tab off into a new window.

If you name the tab before you tear it off, e.g., "Debugger", then set up a Behavior in Xcode's preferences ( Preferences -> Behaviors -> Run Starts -> Show Tab "Debugger" ), it'll show that window when you run your app. It'll even recreate it if you close it.

If you have access to the WWDC 2011 videos, "Maximizing Productivity in Xcode 4" has a lot of great info.

Here's a screenshot before tearing the tab off: enter image description here

Upvotes: 81

Enrico Susatyo
Enrico Susatyo

Reputation: 19800

I know it's a little too late, but I'm going to be borrowing from this answer. Go to your preferences, go to the behaviour tab. Change the running behaviour to show a new window.

If you don't want the window to have an editor or toolbar, you can customise it that way too.

enter image description here

Upvotes: 53

Related Questions