Re: Force an Application to crash : possible ?
Re: Force an Application to crash : possible ?
- Subject: Re: Force an Application to crash : possible ?
- From: Camillo Lugaresi <email@hidden>
- Date: Thu, 12 Jan 2006 17:59:56 +0100
On 12/gen/06, at 10:16, Eric Morand wrote:
NSException works exactly as I needed ! :o)
There is just one problem : the crash report of MacOS X (even with
Unsanity Smart Crash Report) doesn't present the exception
informations (name, reason,...).
Pretty useless to receive a crash log without the reason of the
crash, no ?
Write a global exception handler that does what others have
suggested: display an application-modal alert explaining to the user
that the application will have to be terminated because of an error
condition, with a field showing the report that will be sent to you,
a default button to send it, and an alternate button that quits
wihout sending the report.
Assuming, of course, that the exception is not so bad that it makes
displaying an alert impossible... :-)
Camillo
_______________________________________________
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