你如何在 XCode 4 中添加全局断点? [英] How do you add a global breakpoint in XCode 4?
问题描述
我知道如何在 XCode 3 中执行此操作,但找不到如何在 XCode 4 中添加全局(而不是在特定行)断点.
I know how to do this in XCode 3, but just can't find how to add a global (as opposed to at a specific line) breakpoint in XCode 4.
推荐答案
苹果开发者论坛里有很好的解答(需要付费账号):https://devforums.apple.com/thread/68421
There is a good answer in the apple developer forums (paid account needed): https://devforums.apple.com/thread/68421
总而言之,您必须转到断点导航器(View->Navigators->Breakpoint Navigator),使用左下角的 + 按钮添加一个新的符号断点.要使此断点全局化,您必须右键单击它并按将断点移动到 -> 用户"
To summarise, you have to go to the breakpoints navigator (View->Navigators->Breakpoint Navigator), add a new symbolic breakpoint using the + button at the bottom left corner. To make this breakpoint global, you have to right click it and press "Move Breakpoint to -> User"
这篇关于你如何在 XCode 4 中添加全局断点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!