How do I find out what exception was thrown in the Xcode debugger (for iPhone)?

前端 未结 4 890
伪装坚强ぢ
伪装坚强ぢ 2020-12-12 14:45

I\'m learning iPhone programming from Erica Sadun\'s The iPhone Developer\'s Cookbook. When I run the app I created by following the steps in the Temperature Conversion Exa

4条回答
  •  心在旅途
    2020-12-12 15:07

    As Kevin answered, you will find more helpful debugging info by setting a breakpoint at objc_exception_throw.

    If you are using Xcode 4.2, you can add this symbolic breakpoint by going to Breakpoint Navigator > Click on the add icon on the bottom left > Add symbolic breakpoint > Enter objc_exception_throw for Symbol > Done.

提交回复
热议问题