• 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: Dave Keck <email@hidden>
  • Date: Sat, 9 Jan 2010 15:29:04 -1000

About a year ago I tried to enable NSZombieEnabled programatically but
was never able to, resulting in the same behavior that you mentioned.
(In fact, when using the NSZombieEnabled global to enable it, it
seemed that it was "half-enabled", with it working on some objects,
but still crashing on others.)

My theory based on my findings was that some important check for
NSZombieEnabled happens early in application startup, as part of the
frameworks' initialization before main() is called; I'd say your best
bet would be to set the environment variable and re-launch your app.
_______________________________________________

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: Scott Ribe <email@hidden>
    • Re: Enabling NSZombieEnabled programatically
      • From: Graham Cox <email@hidden>
References: 
 >Enabling NSZombieEnabled programatically (From: Graham Cox <email@hidden>)
 >Re: Enabling NSZombieEnabled programatically (From: "Sean McBride" <email@hidden>)
 >Re: Enabling NSZombieEnabled programatically (From: Jim Correia <email@hidden>)
 >Re: Enabling NSZombieEnabled programatically (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: if statement causing 32 Byte leak?
  • Next by Date: Re: if statement causing 32 Byte leak?
  • Previous by thread: Re: Enabling NSZombieEnabled programatically
  • Next by thread: Re: Enabling NSZombieEnabled programatically
  • Index(es):
    • Date
    • Thread