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: j o a r <email@hidden>
- Date: Tue, 30 Nov 2004 16:43:48 +0100
On 2004-11-30, at 16.00, Karan, Cem ((Civ, ARL/CISD)) wrote:
The problem is that I'm not often sure what caused the hang; sometimes
I'm doing one thing, sometimes another, etc. Can Sampler be set up to
catch all Apple events? That way you can have a script that Sampler
can
run against XCode to see if it can cause the same behaviour twice. We
can edit the script to pare it down to the bare essentials of what is
necessary to cause the problem, and send that in. You'll know what
events were being passed around in the X number of seconds up to the
occurence of the problem, and (assuming that Sampler is modified to
talk
to other programs using any/all possible apple events) can even run the
script starting at any point and going to any point. That should
give
you a better idea as to what causes the problems.
I don't quite understand what you're trying to do. In general, you
don't use sampling tools (Sample, Shark, SpinControl, et.c.) to find a
singular "thing" that happens during program execution (what you refer
to as the "cause of the hang" above). In fact, as they "sample" - ie.
only periodically inspects the application - they are not even
technically reliable to be used in that way.
But to back up - and to get back to the topic of this thread (at least
as defined by the subject of the thread) - if you have a CPU bound
performance problem (ie. the application is not deadlocked or idle),
use one of the sampling tools (I would recommend Shark) and attach the
report to the case.
If you want to provide a *good* sample report, you would try to run the
sampling tool only *while* you experience the performance problem -
neither before, nor after. This is why SpinControl is such a convenient
tool (especially for non-techie users / support staff), as it
automatically samples only while the application is not responsive (A
Shark version of SpinControl would be very cool...).
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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