Just recently Xcode 4 has stopped breaking on exceptions. Every exception causes the debugger to stop at UIApplicationMain
with no stack trace.
- I have a breakpoint set on
objc_exception_throw
(confirmed by GDB logs) - Breakpoints are turned on (confirmed by GDB and other breakpoints work fine)
- LLVM GCC 4.2 is my compiler
- Enable Objective-C Exceptions is turned on
Are there any reasons breakpoints may not be working? Any flags I'm missing?