Finding an unhandled exception

Other ideas:

  • possibly you are having a Cocoa exception which can cause a method to silently exit - run your app with Console.log open and your app’s name in the search box.
  • Or, you could try making sure your app quits on exceptions: See Crash an application on NSException - #2 by Scott_Cadillac (Though, I think this already happens on High Sierra?)
  • add this line as the very first line of app.UnhandledException:
    system.debugLog "unhandled exception!!!"
    (just to prove to yourself this handler is or is not firing)
1 Like