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

Re: Enabling NSZombieEnabled programatically


  • Subject: Re: Enabling NSZombieEnabled programatically
  • From: "Sean McBride" <email@hidden>
  • Date: Sat, 9 Jan 2010 18:22:47 -0500

Graham Cox (email@hidden) 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 (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: Jim Correia <email@hidden>
References: 
 >Enabling NSZombieEnabled programatically (From: Graham Cox <email@hidden>)

  • Prev by Date: [iPhone] NSCoder Question
  • Next by Date: Re: Enabling NSZombieEnabled programatically
  • Previous by thread: Enabling NSZombieEnabled programatically
  • Next by thread: Re: Enabling NSZombieEnabled programatically
  • Index(es):
    • Date
    • Thread