Re: Force crash a cocoa app for Crash Reporter testing
Re: Force crash a cocoa app for Crash Reporter testing
- Subject: Re: Force crash a cocoa app for Crash Reporter testing
- From: "email@hidden" <email@hidden>
- Date: Thu, 20 Aug 2009 20:46:16 +0100
On 20 Aug 2009, at 19:03, Kyle Sluder wrote:
On Thu, Aug 20, 2009 at 10:04 AM, aaron
smith<email@hidden> wrote:
Anyone have any code I can use to do this?
abort()
which calls
raise(SIGABRT); // SIGFPE and SIGSEGV also may be tried
abort() is defined to optionally flush streams and delete temporary
files.
--Kyle Sluder
_______________________________________________
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
Jonathan Mitchell
Developer
http://www.mugginsoft.com
_______________________________________________
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