• 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: Just implementing -isEqual:, never invoked, causes crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just implementing -isEqual:, never invoked, causes crash


  • Subject: Re: Just implementing -isEqual:, never invoked, causes crash
  • From: Chris Parker <email@hidden>
  • Date: Fri, 19 Jun 2009 09:39:52 -0700


On 19 Jun 2009, at 9:18 AM, Jerry Krinock wrote:

<Skipping all the quotes for brevity ... Thanks!>

I don't "turn on zombies" very often, so, just to make sure I did it correctly, I "turned on zombies" by activating this code in my main ()...

#define KEEP_ZOMBIES
#ifdef KEEP_ZOMBIES
   setenv("NSZombieEnabled", "YES", 1) ;
   setenv("NSAutoreleaseFreedObjectCheckEnabled", "YES", 1) ;
#endif

That should do the job, right?

You're too late. The code which sets up zombies fires before main() - you'll need to set this in the environment in the shell.


.chris

--
Chris Parker
iPhone Frameworks
Apple Inc.

_______________________________________________

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: 
 >Just implementing -isEqual:, never invoked, causes crash (From: Jerry Krinock <email@hidden>)
 >Re: Just implementing -isEqual:, never invoked, causes crash (From: Michael Ash <email@hidden>)
 >Re: Just implementing -isEqual:, never invoked, causes crash (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Basic, but still confuses me (initWithFrame and drawRect)
  • Next by Date: Re: Just implementing -isEqual:, never invoked, causes crash
  • Previous by thread: Re: Just implementing -isEqual:, never invoked, causes crash
  • Next by thread: Re: Just implementing -isEqual:, never invoked, causes crash
  • Index(es):
    • Date
    • Thread