且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在与Xcode分开的窗口中显示Xcode调试器?

更新时间:2021-09-30 00:26:19

打开一个新的选项卡,显示调试器(cmd-shift-Y)并将分隔符拖到顶部。关闭导航器(cmd-0)和检查器窗口(cmd-opt-0),然后将选项卡拖到新窗口中。

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.

如果您,例如Debugger,然后在Xcode的首选项(首选项 - >行为 - >运行开始 - >显示选项卡Debugger)中设置一个行为,它将显示当您运行应用程序时该窗口。如果您关闭它,它甚至会重新创建它。

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.

如果您可以访问WWDC 2011视频,Xcode 4中的最大化生产力有很多好的信息。

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: