Re: Intercepting retain/release of object
Re: Intercepting retain/release of object
- Subject: Re: Intercepting retain/release of object
- From: j o a r <email@hidden>
- Date: Fri, 21 Mar 2008 12:38:37 -0700
On Mar 21, 2008, at 11:13 AM, Scott Ribe wrote:
If you really want to understand what's going on, forget the counts,
set
breakpoints on your overloaded retain & release methods, then look
at the
stack trace every time. It may take a while, because there may be a
lot
going on behind the scenes, but it's one way to get an
understanding. (Also
add an override for autorelease.)
A much, much, better way of doing that would be to use the Object
Allocations instrument.
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