• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Some more debugging questions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Some more debugging questions... (From: John Draper <email@hidden>)

  • Prev by Date: Re: Spotlight Plugins don't immediately work?
  • Next by Date: Re: CustomView
  • Previous by thread: Some more debugging questions...
  • Next by thread: Re: Tiger X tools crash
  • Index(es):
    • Date
    • Thread