Re: Some more debugging questions...
Re: Some more debugging questions...
- Subject: Re: Some more debugging questions...
- From: Frederick Cheung <email@hidden>
- Date: Mon, 2 May 2005 15:59:57 +0100
On 2 May 2005, at 01:49, John Draper wrote:
Hi,
I was able to find out that I can stop at a strategic point in the
debugger, then take a snapshot
of the heap each iteration through the loop, and came up with this...
NSCFString = 2794 (94400 bytes)
NSCFString = 2818 (94992 bytes) - gained 24
So I now know that I have gained 24 string objects... so now I
want to find out which
ones I've gained, so I'm going to want to get the addresses of the
new ones I gained.
But the "heap" command doesn't give me individual addresses of the
NSStrings I have
gained. So how do I determine what the actual addresses are, so I
can chase down the
problem?
Have you tried using ObjectAlloc?
Fred
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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