Re: How do I view the retain count in Xcode's debug window?
Re: How do I view the retain count in Xcode's debug window?
- Subject: Re: How do I view the retain count in Xcode's debug window?
- From: Markus Spoettl <email@hidden>
- Date: Thu, 18 Sep 2008 08:27:38 -0700
On Sep 18, 2008, at 8:18 AM, Karan, Cem (Civ, ARL/CISD) wrote:
I tried using instruments, and I finally did figure out how to get
it configured for retain counts, but I'm not seeing any. Does
the application have to be running in order for Instruments to show
thing correctly? Currently, my application keeps on crashing,
so I have no idea what state the thing is in. I'm commenting lines
in and out until I find it, but that is NOT ideal...
What I do to find out what's causing over/under - release problems is
overwriting -release and -retain for the class in question. The
implementations just call [super retain] and [super release] but
setting a breakpoint in them gives you the opportunity to see when
those things happen.
It's a problem for objects that are retained/released a million times
but if you have low retain/release numbers it can help finding out
what's going on.
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden