How can I stop HIToolbox from catching my exceptions?
问题 This question follows on from my other question on why my app isn't being brought down by exceptions. The Problem When an exception is thrown on the main thread via an Action, the app still doesn't crash. As per Dave's answer to my original question, I've implemented the reportException category on NSApplication and set the uncaught exception handler. Code I've got the following in my app delegate, which I've hooked up to a button in my UI to test. -(IBAction)crashOnMainThread:(id)sender {