Re: if statement causing 32 Byte leak?
Re: if statement causing 32 Byte leak?
- Subject: Re: if statement causing 32 Byte leak?
- From: Joar Wingfors <email@hidden>
- Date: Sun, 10 Jan 2010 15:35:57 -0800
On 10 jan 2010, at 15.26, Graham Cox wrote:
> One of the hardest over-release bugs to find is when an autorelease pool pops and the object has already gone - it might be a long way past where the real problem is. Zombies definitely helps with this, but you still need a lot of detective work. If at dealloc time you could assert on a *future* autorelease crash, that would stop the program at the real point of failure.
I don't really see what that would give you that you don't already have with zombies + memory management history in Instruments? With that functionality so readily available in Instruments, there's really very little detective work left in the common case.
j o a r
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden