When using Xcode 4.2 for iOS development there’s an annoying bug where any exceptions crash to the main.m file instead of highlighting the line. Luckily you can set a custom breakpoint to restore the old and correct behaviour:
- Open the Breakpoint navigator (CMD + 6)
- Click the + button in the bottom left
- Select Add Exception Breakpoint
- Click Done
Voila!
Thanks for the tip. The exceptions pointing always towards main.m was really annoying.
You sir are a life saver. Accept a bucket load of virtual love please 🙂