Search code examples
debuggingxcode4breakpoints

How can I set a breakpoint to a function in Xcode4?


How can I set a breakpoint to a function such as CGErrorBreakpoint in Xcode4?


Solution

  • You need to add a symbolic break point for it. To do that, switch to the Breakpoint Navigator (2nd one from the right in the navigator tabbar). Then press the + button at the bottom of the window. It'll allow you to add the symbolic breakpoint.