RE: APPLE GUYS: Do you want Shark profiles of XCode when it hangs?
RE: APPLE GUYS: Do you want Shark profiles of XCode when it hangs?
- Subject: RE: APPLE GUYS: Do you want Shark profiles of XCode when it hangs?
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Wed, 24 Nov 2004 10:55:32 -0500
- Thread-topic: APPLE GUYS: Do you want Shark profiles of XCode when it hangs?
> You're asking for something like a continuous round-robin sampling
> thingie, where it continuously samples, but throws away samples when
> they become a specific number of seconds "old"? It has been requested
> to the Shark team (I last heard that request on WWDC). Don't
> forget to file feature requests - think of RadarWeb like way for us to
> "vote" for new features.
Yes, that is exactly what I was thinking of, but with the ability to
take a snapshot of the FIFO a user defined number of seconds after some
event occurs. That way, if you have a way of triggering the problem,
you can have some samples from before and after the event. (I'm assuming
that the FIFO is say 30 seconds long, and that you can trigger the
snapshot anytime after the event (0, 3, 30, 100 seconds after) which
will have the prior 30 seconds worth of data)
I'll file a radar request ASAP. I just didn't want to file a request
and then have it pointed out that there was a simple way of doing it
already (although I didn't see anything like it in either the docs or
Shark itself)
> You do know that you can use the Alt+Esc *global* shortcut to
> start/stop sampling in Shark?
> In other words, the shortcut functions also when you're
> working in the
> application that you want to profile.
I just saw that; it helps, but here is an example of what I'm trying to
do:
Lets say that you have a program that once in a while slows down or
hangs. You can't get it to happen consistently (because you don't know
the causes) but you can create a function that will detect when the
problem occurs. So you setup the machine to do automated testing (or
you get some testers that are willing to keep on beating on it until the
problem occurs) but you need to know what happened BEFORE your function
detected the hang. If Shark would spitout a snapshot of what occurred
up to that moment, that would be helpful.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden