Re: Inducing a crash?
Re: Inducing a crash?
- Subject: Re: Inducing a crash?
- From: email@hidden
- Date: Mon, 09 Mar 2009 18:15:18 -0400
On Mar 9, 2009, at 6:05 PM, Rick Mann wrote:
I want to test how well our background agent is restarted. I'd like
to programmatically induce a crash. What's a good way to do so?
TIA,
--
Rick
I'm not certain if you mean crashing use a Cocoa method, but this
should certainly cause a memory fault crash.
int *x;
x = 0;
*x = 5;
Dave
_______________________________________________
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