Re: trying to enable NSZombie, gdb can't find OSO file
Re: trying to enable NSZombie, gdb can't find OSO file
- Subject: Re: trying to enable NSZombie, gdb can't find OSO file
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 13 Jun 2009 14:53:47 -0600
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@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