On Jun 13, 2009, at 2:31 PM, Bill Bumgarner wrote:

You can't set NSZombieEnabled after a program has started running. You need to set it as an environment variable and restart your app.


Actually, you can. Import Foundation/NSDebug.h and set the variable NSZombieEnabled to YES, and zombies will be enabled. You have to do this in code, though, preferably before NSApplicationMain() is called. I've never tried setting it in the debugger before.

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to