All,
Is there a program/utility/class lib (pref gpl) that allows a user to
monitor the threads (like the one in Eclipse, but stand alone)?
The reason I ask is because I have an applet that has athread issue and
I cannot debug it when it's running as an applet, so i'ds like to
monitor the tread.
Does this sort of thing exist?
Thanks in advance
Jaj
ByteCoder - 21 May 2005 20:53 GMT
> All,
>
[quoted text clipped - 10 lines]
>
> Jaj
I think you are looking for a profiling application (profiler). I
suppose there is a profiler plugin for Eclips, but I doubt there is a
stand-alone profiling application.

Signature
-------------
- ByteCoder - ...I see stupid people
-------------
Curiosity *Skilled* the cat
Ross Bamford - 21 May 2005 23:58 GMT
> > All,
> >
[quoted text clipped - 14 lines]
> suppose there is a profiler plugin for Eclips, but I doubt there is a
> stand-alone profiling application.
JProfiler?

Signature
[Ross A. Bamford] [ross AT the.website.domain]
Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
http://www.roscopec0.f9.co.uk/ + info@the.website.domain
ByteCoder - 22 May 2005 08:28 GMT
>> > All,
>> >
[quoted text clipped - 16 lines]
>
> JProfiler?
I guess so. :)

Signature
-------------
- ByteCoder - ...I see stupid people
-------------
Curiosity *Skilled* the cat
Roland - 21 May 2005 21:02 GMT
> All,
>
[quoted text clipped - 10 lines]
>
> Jaj
You can debug an applet when it's running in your browser. All you have
to do is to specify the appropriate runtime parameters in the Java
Control Panel: in the control panel select "Java" tab and press "View"
of "Java applet runtime settings" and add the following parameter:
-Xrunjdwp:transport=dt_socket,server=y,address=localhost:9999,suspend=n
If you are using Eclipse, you create a "Remote Java application" run
configuration (menu Run->Debug..., select "Remote Java application",
press New) with Host and Port matching the address given in -Xrunjdwp.
After you finished debugging, remove the -Xrunjdwp parameter from the
Java control panel. Otherwise the browser/plugin keeps listenening for
debug sessions on the specified port (might be a security risk).

Signature
Regards,
Roland de Ruiter
___ ___
/__/ w_/ /__/
/ \ /_/ / \
Bart van Pelt - 04 Jun 2005 19:34 GMT
Does this help you?
http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html