Re: Is there a way to see who is retaining an object?
Re: Is there a way to see who is retaining an object?
- Subject: Re: Is there a way to see who is retaining an object?
- From: Rick Hoge <email@hidden>
- Date: Fri, 17 Jun 2005 16:42:42 -0400
Thanks for the additional info on how to use ObjectAlloc! I want to
make sure I am doing what you suggest -
Run Object Alloc
Be sure to check "also record CF & ObjC reference counting" and
"keep backtraces".
Run your app and do the operations
Find your objects in the list and look at the references -- you can
see the retain/release counts and find out what did a retain
without a release.
Do you mean select the 'Instance Browser' tab, find the class of the
object I am concerned about, then look at the events in the rightmost
column of the outline view?
This is the closest thing I can find to getting information about who
is doing retains and releases - in my app there seem to be a lot of
events so it will take some digging to find the unpaired retains (I'm
happy to do this - just want to make sure I'm not missing some easier
way)
Rick
_______________________________________________
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