1

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.

Community
  • 1
  • 1
Klaas
  • 22,394
  • 11
  • 96
  • 107

1 Answers1

1

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.

Community
  • 1
  • 1
cbowns
  • 6,295
  • 5
  • 47
  • 64
  • Great! Mine was asked about half a year earlier, but they cover the exact same topic ;-) – Klaas Jun 25 '14 at 11:40