Graham Cox (graham....@bigpond.com) on 2010-01-10 18:02 said:
>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.
I've never tried, but NSDebug.h seems to say that there is an
NSZombieEnabled global var that you can set.
Sean
--
"How much harm does a company have to do before we question its right to
exist?" — Paul Hawken
_______________________________________________
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