• 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: Uncaught exceptions not terminating my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Uncaught exceptions not terminating my app
      • From: "Paul Sanders" <email@hidden>
    • Re: Uncaught exceptions not terminating my app
      • From: "Sean McBride" <email@hidden>
References: 
 >Uncaught exceptions not terminating my app (From: "Paul Sanders" <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: Ken Thomases <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Uncaught exceptions not terminating my app
  • Next by Date: [Moderator] Do not discuss iPad or updated iPhone OS here
  • Previous by thread: Re: Uncaught exceptions not terminating my app
  • Next by thread: Re: Uncaught exceptions not terminating my app
  • Index(es):
    • Date
    • Thread