The Problem
I\'m writing a Cocoa application and I want to raise exceptions that will crash the application noisily.
I have the following li
There turns out to be a very simple solution:
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @YES }];
It does not crash your app if you use @try ... @catch.
@try ... @catch
I can't begin to imagine why this isn't the default.