• 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: logging object creations and destructions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: logging object creations and destructions


  • Subject: Re: logging object creations and destructions
  • From: Torsten Curdt <email@hidden>
  • Date: Fri, 15 Feb 2008 20:15:04 +0100


On 15.02.2008, at 16:46, Jens Alfke wrote:


On 14 Feb '08, at 7:54 AM, Torsten Curdt wrote:

That's great ...almost exactly what I was hoping for ...just that a timeline seems to be missing

If you add a sampler instrument, it'll show you the stack backtrace over time, which should be what you're looking for...

"add a sampler instrument"? What do you mean by that?

I can set a mark and then can see the differences between the object counts - also over time. But it still does not give me something like

 01:00:00 NSURLConnection created
 01:00:05 NSURLConnection destroyed
 ...

I am wondering whether I could extend NSObject's init/dealloc and call NSLog from there

cheers
--
Torsten
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: logging object creations and destructions
      • From: Brady Duga <email@hidden>
References: 
 >logging object creations and destructions (From: Torsten Curdt <email@hidden>)
 >Re: logging object creations and destructions (From: Brady Duga <email@hidden>)
 >Re: logging object creations and destructions (From: Torsten Curdt <email@hidden>)
 >Re: logging object creations and destructions (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: In-loop releasing of objects does not free memory?
  • Next by Date: Re: Uncaught exceptions thrown by Cocoa documented anywhere?
  • Previous by thread: Re: logging object creations and destructions
  • Next by thread: Re: logging object creations and destructions
  • Index(es):
    • Date
    • Thread