can't get NSZombie to work
can't get NSZombie to work
- Subject: can't get NSZombie to work
- From: Ben Dougall <email@hidden>
- Date: Wed, 28 Apr 2004 16:42:37 +0100
hiyer,
i don't understand how to debug using NSZombie.
i've added these breakpoints in (in project builder this is):
-[_NSZombie release]
-[_NSZombie methodSignatureForSelector:]
and i've put this at the top of my main.m file:
#import <Foundation/NSDebug.h>
NSZombieEnabled = YES;
and i get these errors from the NSZombieEnabled = YES; line:
Compiling main.m (2 errors, 2 warnings)
main.m:6: warning: type defaults to `int' in declaration of
`NSZombieEnabled'
main.m:6: conflicting types for `NSZombieEnabled'
/System/Library/Frameworks/Foundation.framework/Headers/NSDebug.h:67:
previous declaration of `NSZombieEnabled'
main.m:6: warning: data definition has no type or storage class
the project is a foundation tool type.
how do you go about using the zombie thing to find released objects
that shouldn't have been?
thanks, ben.
_______________________________________________
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.