How to use the "All exceptions" breakpoint for exceptions outside @try {} @catch {}?

In Xcode, you can go to the Breakpoints tab, and then add a breakpoint for All Exceptions.

I find this very useful, but is it possible that he @try {} @catch {} program only when the exception is not handled by @try {} @catch {} in my code? These are the only ones that interest me.

It would be even better if I could select certain files in which I am interested in using this breakpoint system, although I assume that it is too much to ask.

+7
objective-c exception xcode breakpoints
source share
1 answer

The best I have found is interruption; it will print the exception and back trace in the log before breaking. You might also be lucky to install your own exception handler and crack it.

If you really want to use All Exceptions as you described, write an error with an apple:

http://bugreport.apple.com

+1
source share

All Articles