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: "Jonathan del Strother" <email@hidden>
- Date: Fri, 19 Sep 2008 13:24:01 +0100
On Fri, Sep 19, 2008 at 12:55 PM, Karan, Cem (Civ, ARL/CISD)
<email@hidden> wrote:
> So something like this: override retain, release, and autorelease so
> that every time any of them get called, the object's location in memory,
> its retain count, and its description get written to a log file. Then
> set up the appropriate environment variables so that I kill the program
> the moment overreleasing happens. I can then grep for the object in the
> log file via its location in memory, and then try to work out every
> place that it is being retained/released to figure out what is
> happening.
>
Wouldn't Instruments be a far better way of dealing with that?
Something along the lines of
http://www.corbinstreehouse.com/blog/index.php/2007/10/instruments-on-leopard-how-to-debug-those-random-crashes-in-your-cocoa-app/
?
_______________________________________________
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