Re: Just implementing -isEqual:, never invoked, causes crash
Re: Just implementing -isEqual:, never invoked, causes crash
- Subject: Re: Just implementing -isEqual:, never invoked, causes crash
- From: Chris Parker <email@hidden>
- Date: Fri, 19 Jun 2009 09:39:52 -0700
On 19 Jun 2009, at 9:18 AM, Jerry Krinock wrote:
<Skipping all the quotes for brevity ... Thanks!>
I don't "turn on zombies" very often, so, just to make sure I did it
correctly, I "turned on zombies" by activating this code in my main
()...
#define KEEP_ZOMBIES
#ifdef KEEP_ZOMBIES
setenv("NSZombieEnabled", "YES", 1) ;
setenv("NSAutoreleaseFreedObjectCheckEnabled", "YES", 1) ;
#endif
That should do the job, right?
You're too late. The code which sets up zombies fires before main() -
you'll need to set this in the environment in the shell.
.chris
--
Chris Parker
iPhone Frameworks
Apple Inc.
_______________________________________________
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