• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exiting non-POSIX threads?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Storing an NSImage File
  • Next by Date: Re: NSMenuItemCell setMenuItem does not retain?
  • Previous by thread: Re: Exiting non-POSIX threads?
  • Next by thread: IOS force hidden tab to adjust subviews after rotation
  • Index(es):
    • Date
    • Thread