Skip navigation.
 
mlNSZombies
FROM : The Amazing Llama
DATE : Tue Jan 14 20:32:00 2003

To dredge up some old stuff I found in the mamasam archives:

On 2002-02-18 07:25 Jim Correia said:
> On Monday, February 18, 2002, at 12:32 AM, Erik M. Buck wrote:

>> See
>>  NSZombieEnabled
>>  NSDebug.h

>
> One should also note that the release notes point out this debugging
> tool doesn't work for NS things which are tool free bridged to CF
> things.


Is this stiff the case? I'm having autorelease errors with some of my
code that uses NSArrays of NSNumbers, and Zombies aren't breaking
before I get EXC_BAD_ACCESS, so I'm guessing yes.

Interestingly, if I run the program, I get a message:
   _NSAutoreleaseFreedObject(): release of previously deallocated object
(0x1adb810) ignored
But this does not appear when I'm debugging.

If it is, how do I go about finding what in the world the object is
that's being messages while dead? The only thing I can think of is to
create a wrapper class that passes all messages to the wrapped
NSNumber, making sure that all other functionality still works. But
that doesn't sound like a heck of a lot of fun any ideas?

Seth A. Roby            The Amazing Llama < mail or AIM me at tallama at mac dot
com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSZombies The Amazing Llama Jan 14, 20:32
mlRe: NSZombies Brent Gulanowski Jan 15, 18:17