How to find autorelease bug
How to find autorelease bug
- Subject: How to find autorelease bug
- From: James Bucanek <email@hidden>
- Date: Thu, 6 Jan 2005 22:56:45 -0700
Greetings,
I've got a basic Obj-C/NSObject question: What do I use to track down a release/autorelease bug?
My program runs just fine, until it gets to the [pool release], at which point it throws an exception. What I'm guessing is that (somewhere) I've released something that was also autoreleased.
I tried turning on Guard Malloc. I also tried running the program using MallocDebug and ObjectMalloc. Neither of which seemed to be any help -- but that could because I'm not entirely clear on what they do.
Is there any straight forward technique for tracking down a double release bug?
Thanks in advance.
--
James Bucanek <mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden