Only enable Objective-C breakpoints.
To see the actual statement that is causing the error add an exception breakpoint:
-
From the Main Menu Debug:Breakpoints:Create Exception Breakpoint.
-
Right-click the breakpoint and set the exception to Objective-C. This will ignore other types of exceptions such as from C++. There are parts of the APIs that use exceptions such as Core Data (Apple is Special).
-
Add an action: “po $arg1”.
Run the app to get the breakpoint and you will be at the line that causes the exception and the error message will be in the debugger console.
Breakpoint example:
