Enabling NSZombieEnabled programatically
Enabling NSZombieEnabled programatically
- Subject: Enabling NSZombieEnabled programatically
- From: Graham Cox <email@hidden>
- Date: Sun, 10 Jan 2010 10:02:28 +1100
Is there a straightforward way to set the NSZombieEnabled environment variable programatically from within my app, and only for my app? It's OK if this would need a relaunch to take effect.
I want to be able to add a UI control to enable this so that I can work with end-users who report over-release bugs, but who are not able to use Terminal.
I thought writing a user default 'NSZombieEnabled' with value YES might be enough, as it is with some memory debugging variables, but it isn't.
--Graham
_______________________________________________
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