• 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: 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.


  • Follow-Ups:
    • Re: can't get NSZombie to work
      • From: Nick Zitzmann <email@hidden>
References: 
 >Re: can't get NSZombie to work (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: xCode 1.2
  • Next by Date: Re: can't get NSZombie to work
  • Previous by thread: Re: can't get NSZombie to work
  • Next by thread: Re: can't get NSZombie to work
  • Index(es):
    • Date
    • Thread