NSApplicationShowExceptions - useful on main thread only?
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