EXC_BREAKPOINTis raised when the processor hits a breakpoint instruction. These instructions are used by the debugger’s breakpoint mechanism but they can also be used by code (either your code or framework code) to signal a failure. For example, this Objective-C code:
will trap with
EXC_BREAKPOINTbecause Core Foundation’s runtime system explicitly detects the error and runs a breakpoint instruction.
As to what’s happening with your app, you’re going to have to look at the backtrace of the stack to see where this breakpoint instruction is coming from. The easiest way to do that is to enter the backtrace (
bt) command into the debugger console.
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"