Re: Enabling NSZombieEnabled programatically
Re: Enabling NSZombieEnabled programatically
- Subject: Re: Enabling NSZombieEnabled programatically
- From: Dave Keck <email@hidden>
- Date: Sat, 9 Jan 2010 15:29:04 -1000
About a year ago I tried to enable NSZombieEnabled programatically but
was never able to, resulting in the same behavior that you mentioned.
(In fact, when using the NSZombieEnabled global to enable it, it
seemed that it was "half-enabled", with it working on some objects,
but still crashing on others.)
My theory based on my findings was that some important check for
NSZombieEnabled happens early in application startup, as part of the
frameworks' initialization before main() is called; I'd say your best
bet would be to set the environment variable and re-launch your app.
_______________________________________________
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