• 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
Enabling NSZombieEnabled programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Enabling NSZombieEnabled programatically
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: programatically updating UI for NSArrayContoller/NSTableView combo
  • Next by Date: [iPhone] NSCoder Question
  • Previous by thread: Re: NSFilesPromisePboardType
  • Next by thread: Re: Enabling NSZombieEnabled programatically
  • Index(es):
    • Date
    • Thread