• 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
NSApplicationShowExceptions - useful on main thread only?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSApplicationShowExceptions - useful on main thread only?


  • Subject: NSApplicationShowExceptions - useful on main thread only?
  • From: Sean McBride <email@hidden>
  • Date: Fri, 21 Sep 2012 18:20:52 -0400
  • Organization: Rogue Research Inc.

Hi all,

The 10.7 release notes say:

"AppKit now has the ability to report uncaught exceptions. It is controlled by a user default: NSApplicationShowExceptions (YES/NO)...."

My next version will require 10.7+, so I'm finally taking a look at this thing.

It seems that it only works for the main thread, that is, if there's an uncaught exception on the main thread I get the nice error UI.  But if an uncaught exception occurs on a non-main-NSThread or dispatch queue I get no nice UI.

Can anyone confirm/deny?  Anyone shipping with NSApplicationShowExceptions=YES?

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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


  • Follow-Ups:
    • Re: NSApplicationShowExceptions - useful on main thread only?
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: iPad drawing and screen rotation
  • Next by Date: NSSearchField(Cell) changes size with typing
  • Previous by thread: Re: iPad drawing and screen rotation
  • Next by thread: Re: NSApplicationShowExceptions - useful on main thread only?
  • Index(es):
    • Date
    • Thread