Xcode 4 exception breakpoint filtering
Breaking on Objective-C exceptions is really useful and easily the best way to debug issues with
NSArray and the like. However, exceptions are also a great thing to use while actually programming.
Xcode offers two choices for breaking on Obj-C exceptions:
- Break whenever an exception is thrown
- Break whenever an exception is caught
Breaking on catch seems to be basically useless, since the point of
@throw is a lot more important. However, if I’m handling an exception fine, I don’t want my program to stop.
So, the ideal situation would be: break on all exceptions that are not caught by my code, but show a stack trace for when the exception was thrown.
Another decent solution would be some sort of debugging whitelist for exceptions that should not be broken on.
Is there any way to filter exception breakpoints?
- OSX application without storyboard or xib files using Swift
- Create and use static library on OS X
- Why are Cocoa's IBOutlet properties atomic by default, and Cocoa Touch's aren't?
- Adding Convenience Initializers in Swift Subclass
- How to make a UIScrollView snap to icons (like App Store: Feature)
- <AppName>.pch file usage
- UIDatePicker to show year only
- Equivalent of SKAction scaleToX for a given duration in Unity
- NSUbiquitousKeyValueStore sync issues
- IOS to PHP POST parameters?
- Programmatically Dial a Phone number and pass DTMF using the iPhone SDK
- AFHTTPClient.m no longer in AFNetworking?
- Hide UITabBar in iPad Application
- iOS 7: How to setup invitation handler for Game Center matchmaker
- How to store a reference to an integer in Swift
- Is there a way to down cast an enum rawValue to its type?
- How can I overlap audio files and combine for iPhone in Xcode?
- Recommendations for .NET Web Service Format/Protocol for Android, iPhone, etc. integration
- Swift how to format a large number with thousands seperators?
- How to do Custom Fonts at design time in Xcode 6?
- How to detect which EKevent was changed