Reputation: 22763
Xcode has this neat feature to add an exception breakpoint. If I add one I can choose between "All", "Objective-C" and "C++" exceptions.
However, I'm using a framework (Evernote iOS SDK) that heavily relies on exceptions, throws them and catches them within the framework. This triggers my exception breakpoint even when those exceptions would never hit my code.
Is there a way to ignore some kind/some subclasses of exceptions?
Evernote defines them like this:
@interface EDAMUserException : NSException <NSCoding> {}
So, I would like to exclude all those from triggering my exception breakpoint.
There was a similar question, but not yet an answer.
Upvotes: 1
Views: 1052
Reputation: 6365
Yes, there is! Another question about this garnered this answer: Ignore certain exceptions when using Xcode's All Exceptions breakpoint which includes script and everything. You can ignore exceptions by class or by name. It's awesome.
Upvotes: 1