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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com