• 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: Debugging with zombies enabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging with zombies enabled


  • Subject: Re: Debugging with zombies enabled
  • From: Mike Ferris <email@hidden>
  • Date: Sat, 28 Dec 2002 10:23:40 -0800

I am not sure what the log is coming from but I do know that you probably don't want to set NSDeallocateZombies to YES. It defaults to NO and the whole point of zombies is that you want them to stick around so freed objects memory will not be reclaimed to be used for something else...

Mike


Begin forwarded message:

From: Chris Meyer <email@hidden>
Date: Fri Dec 27, 2002 9:31:05 AM US/Pacific
To: email@hidden
Subject: Debugging with zombies enabled

I'm trying to enable extra debugging checks in my application. I do this by clicking on the targets tab, setting the 'NSDebugEnabled', 'NSZombieEnabled', 'NSDeallocateZombies', 'NSHangOnMallocError', and 'NSHangOnUncaughtException' environment variables to 'YES', setting 'Dynamic Runtime Liibrary Variant' to Debug, and running the debugger.

For a brand new Cocoa document based application generated from the template, I get the following assertion every time the window activates:

DebugAssert: HIToolbox: inDataPtr != NULL SetEventParameter_NilDataPassed [line 914, file Events/EventsCore/EventRecord.c]

Is there something else that I need to do for extreme torture debugging or is this a bug in the Carbon interaction with Cocoa?

Any help/ideas/info would be appreciated.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Debugging with zombies enabled (From: Chris Meyer <email@hidden>)

  • Prev by Date: Re: *Really* Understanding Cocoa
  • Next by Date: Re: Little problem with NSPopUpButton
  • Previous by thread: Debugging with zombies enabled
  • Next by thread: Questions about retain
  • Index(es):
    • Date
    • Thread