• 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: Force an Application to crash : possible ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force an Application to crash : possible ?


  • Subject: Re: Force an Application to crash : possible ?
  • From: AgentM <email@hidden>
  • Date: Wed, 11 Jan 2006 15:52:45 -0600


On Jan 11, 2006, at 3:39 PM, Eric Morand wrote:

Let me explain what I want to do : when certain NSError are not recovered, I want to crash the application with the error description as crash log - so that users can send it to me for instance.

Is this possible ?


Thanks for the clarification. You should certainly try to recover from all possible failures.


However, if you really need users to send you an "error description" for unusual situations, I would suggest throwing an exception, catching it, and submitting that information _automatically_ using email or a web post (perhaps notifying the user that you will do so).

There really is nothing more frustrating than asking Granny Smith to troll her crash logs...

|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-
AgentM
email@hidden
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Force an Application to crash : possible ? (From: Eric Morand <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: Robert Cerny <email@hidden>)
 >Re: Force an Application to crash : possible ? (From: Eric Morand <email@hidden>)

  • Prev by Date: Re: Force an Application to crash : possible ?
  • Next by Date: Re: Force an Application to crash : possible ?
  • Previous by thread: Re: Force an Application to crash : possible ?
  • Next by thread: Re: Force an Application to crash : possible ?
  • Index(es):
    • Date
    • Thread