• 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: can't get NSZombie to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't get NSZombie to work


  • Subject: Re: can't get NSZombie to work
  • From: Glen Simmons <email@hidden>
  • Date: Fri, 18 Jun 2004 08:55:25 -0500

Be aware that NSZombie doesn't work for CFTypes, including those that are toll-free bridged to Cocoa objects. This includes NSString, NSDictionary, NSArray, NSDate, NSURL, NSSet, etc., etc. In other words, most of the objects you're likely to use in your app. Rather disappointing, especially if you waste several hours trying to figure out why NSZombie is not working on your system b/c this information is not documented. Yes, I've filed a bug, and yes, you should too.

Glen

On 28 Apr, 2004, at 12:05 PM, Nick Zitzmann wrote:

On Apr 28, 2004, at 10:54 AM, Ben Dougall wrote:

i click on main which is the first one in the list to show code and it's the end [pool release]; line. i already knew that's where the actual crash takes place. how can i use NSZombie to find which object, or at least object type? -- get more info basically? that's what NSZombie's for right?

Watch the output from the debugger, which you can do by clicking on the "Console Drawer" toolbar item if you haven't done so already. The console output will tell you the type and address of the object that NSAutoreleasePool attempted to deallocate. That should at least get you started. You can find more useful information in the archives...

Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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.


  • Prev by Date: [OT] Re: Big Nerd Ranch Experience
  • Next by Date: Re: many-to-many relationships and object design
  • Previous by thread: Re: can't get NSZombie to work
  • Next by thread: Re: NSUndoManager in non-NSDocument Cocoa Applications: unable to change 'Undo' menu item name.
  • Index(es):
    • Date
    • Thread