Re: can't get NSZombie to work
Re: can't get NSZombie to work
- Subject: Re: can't get NSZombie to work
- From: Ben Dougall <email@hidden>
- Date: Wed, 28 Apr 2004 17:54:24 +0100
On Wednesday, April 28, 2004, at 05:33 pm, Nick Zitzmann wrote:
On Apr 28, 2004, at 9:42 AM, Ben Dougall wrote:
and i've put this at the top of my main.m file:
#import <Foundation/NSDebug.h>
NSZombieEnabled = YES;
Here you're declaring NSZombieEnabled as if it was a global of some
sort. Try moving it to main() just before anything else
(NSApplicationMain() or whatever) is called; it should work if you do
that.
ah yes, that's got around the errors -- great, thanks.
i'm still not able to get any useful info though. now when running via
the debugger the stack trace is:
0 -[_NSZombie release]
1 NSPopAutoreleasePool
2 main
3 _start
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?
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.