Crash an application on NSException

Given that I have an MBS license, I put the following into the Open event of my app:

#If TargetMacOS Var u As NSUserDefaultsMBS = NSUserDefaultsMBS.standardUserDefaults u.setBoolValue("NSApplicationCrashOnExceptions", True) #EndIf
This seemed to update the auto-created file located at /Users/scott/Library/Preferences/com.mycompany.myapp.plist which now looks like the following:

I guess as long as that entry is in the plist file, the OS takes care of the rest?

You always have the greatest pointers Sam, thanks again!

1 Like