Can't trap uncaught exceptions on Snow Leopard
Can't trap uncaught exceptions on Snow Leopard
- Subject: Can't trap uncaught exceptions on Snow Leopard
- From: Oleg Krupnov <email@hidden>
- Date: Thu, 17 Dec 2009 16:41:27 +0200
On Leopard, I used to override [NSApp reportException:] method to
track all uncaught exceptions that occur in my app.
However, I have just discovered that on Snow Leopard, this method
never gets called. Instead, the application handles the exception
somewhere inside and I only get this message in the console:
HIToolbox: ignoring exception 'Test crash' that raised inside Carbon
event dispatch
How to work around this and receive the uncaught exceptions somehow?
Thanks!
_______________________________________________
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