Re: Force an Application to crash : possible ?
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