• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: trying to enable NSZombie, gdb can't find OSO file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >trying to enable NSZombie, gdb can't find OSO file (From: Martin Wierschin <email@hidden>)
 >Re: trying to enable NSZombie, gdb can't find OSO file (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: trying to enable NSZombie, gdb can't find OSO file
  • Next by Date: Re: trying to enable NSZombie, gdb can't find OSO file
  • Previous by thread: Re: trying to enable NSZombie, gdb can't find OSO file
  • Next by thread: Putting files in an flat-file executable
  • Index(es):
    • Date
    • Thread