问题描述
我正在看iTunes U的视频讲座,在那里教师展示了如何使用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.
不幸的是,视频显示了如何在Xcode3中进行的操作。如何在Xcode4中执行此操作?
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?
推荐答案
打开一个新的选项卡,显示调试器(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.
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:
这篇关于如何在与Xcode分开的窗口中显示Xcode调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!