Re: -retain and -release Questions
Re: -retain and -release Questions
- Subject: Re: -retain and -release Questions
- From: Patrick Machielse <email@hidden>
- Date: Mon, 08 Mar 2004 10:56:30 +0100
op 08-03-2004 00:34 schreef Jerry Krinock
>
on 04/03/06 23:40, mmalcolm crawford at email@hidden wrote:
>
>
> On Mar 6, 2004, at 11:20 PM, Jerry Krinock wrote:
>
>
>
>> Is there a tool to check my Obj-C/Cocoa app for such memory leaks?
>
>
>
> See /Developer/Applications/Performance Tools
>
>
>
It looks like MallocDebug would be helpful. But after launching it, I
>
browse to my application's package and select it, but when I click "Launch"
>
I get a spinning colored wheel for about a minute, and then an alert which
>
says: "Read Data. Unable to read malloc information from (null)".
I suggest using ObjectAlloc. You can use it to look at the number of
instances of a specific class, and it can also show you the retain count of
instances. Be sure to build with debug symbols and without optimisation, if
you want reliable results.
Groeten,
Patrick
--
Hieper Software
w: www.hieper.nl
e: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.