Re: Uncaught exceptions not terminating my app
Re: Uncaught exceptions not terminating my app
- Subject: Re: Uncaught exceptions not terminating my app
- From: Jens Alfke <email@hidden>
- Date: Wed, 27 Jan 2010 11:27:20 -0800
On Jan 27, 2010, at 11:01 AM, Paul Sanders wrote:
My basic tenet is that I want to catch unexpected exceptions and
terminate my app in a way that produces a crash report containing a
proper stack trace.
As a developer I understand your desire; but as a user, I would rather
have your app pop up an error alert, than suddenly crash and lose my
unsaved work. (In my experience, most uncaught exceptions will allow
the app to keep limping along afterwards, enough to show an alert and
let the user save and quit.)
It wouldn't be too hard to integrate the unexpected-error alert with
UKCrashReporter so that it can send the backtrace to you; then you get
the best of both worlds.
—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