Xcode throws an exception in Main() in iOS 8 with 'all exceptions' breakpoint

前端 未结 5 1363

I am using Xcode 6 (GM, I didn\'t download betas), and I am developing apps for iOS 7+. For all my projects, I just opened the same projects I used to work on in Xcode 5.

5条回答
  •  广开言路
    2020-11-30 02:26

    As stated in the comments, you should turn off catching the C++ exceptions by editing your All Exceptions breakpoint.

    In order to do that, right click on your breakpoint and change Exception from All to Objective-C:

    change All to Objective-C

    Exceptions in C++ code are part of normal app functionality. However, exception breakpoint is not catching unhandled but every raised exceptions, even when they're handled correctly later on, hence the stop in execution.

提交回复
热议问题