Re: Exiting non-POSIX threads?
Re: Exiting non-POSIX threads?
- Subject: Re: Exiting non-POSIX threads?
- From: Jens Alfke <email@hidden>
- Date: Fri, 02 Aug 2013 10:15:05 -0700
On Jul 30, 2013, at 2:32 AM, j.carlson <email@hidden> wrote:
> In my case, the exception has already been thrown inside the block and
> I cannot catch it or modify it in any way in my handler. I'm basically
> writing an uncaught exception handler. My app should show a crash
> report window and then terminate itself.
Setting the user default NSApplicationShowExceptions to YES enables the standard uncaught-exception alert in your process; so if there’s an uncaught exception on any thread, the alert automatically pops up (with some info about the exception) and gives the user the choice to continue or crash.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden