Eric,
I've only used Shark a little and I've always had to run the app
separately. When launching from within Shark I always get a "Failed
to find Shark for Java port" message. When running the app
standalone with the -XrunShark flag it works fine.
You did click the Start button to start sampling didn't you?
Bill
On Mar 28, 2005, at 2:23 PM, email@hidden wrote:
Hello everyone,
I have had no luck in using Shark to profile my dangling Java object
references. I've even tried running Shark on a "Hello World!"
program with no success.
I start the "Hello" program from within Shark. I let the program
run for 10 or 15 seconds. Then I stop Shark before the program
terminates, but all I get is a drop down dialog box "ERROR: No
samples taken. [JavaTraceDataSource]"
I've had other problems, but if I can just get the first "Java Time
Trace" to work the other problems may go away. I basically have not
been able to do ANY Java profiling with Shark yet. Any hints will
be greatly appreciated.
Thanks in Advance,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
--
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden