Re: Force an Application to crash : possible ?
Re: Force an Application to crash : possible ?
- Subject: Re: Force an Application to crash : possible ?
- From: Eric Morand <email@hidden>
- Date: Thu, 12 Jan 2006 10:16:55 +0100
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 ?
Le 11 janv. 06 à 22:54, I. Savant a écrit :
Don't take my word for gospel. A quick search of this list's
archives will show I'm wrong probably about as often as I'm
right. :-) I've never had reason to throw an exception of my own
(Cocoa's own exceptions have been good enough), so take my
suggestion/statement with a grain of salt.
--
I.S.
On Jan 11, 2006, at 4:46 PM, Eric Morand wrote:
Shame on me. I think you are right. For some reason, I've only
read the Error Handling Documentation and forgot about the
Exception Handling one...
I go and read it now ! Thanks I.S.
Le 11 janv. 06 à 22:41, I. Savant a écrit :
Isn't this what NSException is for?
--
I.S.
On Jan 11, 2006, at 4: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 ?
Eric.
Le 11 janv. 06 à 22:19, Robert Cerny a écrit :
Clean way to crash? Uff. I mean that simple releasing an object
twice should be sufficient.
HTH
Robert
On Jan 11, 2006, at 10:17 PM, Eric Morand wrote:
Is there a way, a "clean" way, to force an application to
crash programmatically ?
By "clean", I mean using a method/function whose job is
actually to crash the application.
Thanks,
Eric.
=============================================
Automator Ketchup : http://automatorketchup.blogspot.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
=============================================
Automator Ketchup : http://automatorketchup.blogspot.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
=============================================
Automator Ketchup : http://automatorketchup.blogspot.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
=============================================
Automator Ketchup : http://automatorketchup.blogspot.com
_______________________________________________
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