Re: logging object creations and destructions
Re: logging object creations and destructions
- Subject: Re: logging object creations and destructions
- From: Torsten Curdt <email@hidden>
- Date: Sat, 16 Feb 2008 00:06:06 +0100
"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
Are you using Instruments with the Object Allocations tool or are
you using MallocDebug?
No no ...I was talking about ObjectAlloc 3.4 (90)
Sounds like MallocDebug. In Instruments you can choose the diagram
view of the ObjectAlloc tools and sort by timestamp. No need for
another tool to get traces, either. ObjectAlloc can show you the
allocations with stack frames. Or you can write a custom DTrace
script that will log allocations however you want (no idea how -
I've never found the need for a custom script as the built-in tools
do pretty much everything I need).
Of course, any of that does require 10.5. Perhaps you aren't
running Leopard?
Ahhh ...that's explains it - still on Tiger
--Brady (quietly waiting to be moderated off the list for OT posts)
cheers
--
Torsten (who is sorry this has become OT - end of thread :)
_______________________________________________
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