DavidH
DavidH

Reputation: 1470

Xcode: On debug, is there any way to prevent it from opening the navigator on the front-most window?

I'm trying to figure out how to use Xcode in a multi-window setup. I would like to have one window be my main window, and then have others that I use to do occasional spot editing. Here's the rub: I never want to have the navigator (or the debug console, for that matter) open in those other windows. I only want the navigator and console to open in the main window.

Right now, when I run the app the debug navigator and console open up in whichever window is frontmost (causing me to have both the main window and the secondary window with console pains and navigator open). Is there anyway to prevent the console and issue navigator from opening on the secondary window while preserving this behavior for the main window?

Upvotes: 24

Views: 3658

Answers (3)

TruMan1
TruMan1

Reputation: 36058

In Xcode Preferences > Behaviours > Runnings > Generates output, uncheck Show debugger with Current Views.

Upvotes: 2

Jevon718
Jevon718

Reputation: 454

Go to Xcode -> Behaviors -> edit behaviors. Now under build and running uncheck shows Navigator.

Upvotes: 7

user1118321
user1118321

Reputation: 26325

I'm not sure I fully understand what you want - but you can configure some of these things in the Xcode preferences under "Behaviors". Under "Running" you can click on "Starts" and it will show you the behaviors for when you run your application. You can set it to show a particular tab in the active window or a separate window. You can set up that tab to contain just the debugger. If it does show the debugger in the other tabs, you can minimize the debugger panes, and I believe it will save that state for the next time it launches. See here for more details.

Upvotes: 40

Related Questions