tracing JVM for applet analysis?


S

Stefan Ram

A website uses an applet. To analyze its run-time behavior,
it would be nice if one could substitute the browsers's JVM
by another JVM that traces all method calls to a file. (It
would be even better, if only calls from a method of the
applet to a Java SE method were traced.) Is anything like
this possible?

I already found this

http://www.imamu.edu.sa/DContent/IT_Topics/java/tracing.pdf

about a »tracing JVM«, but do now know whether one can get
such a beast for Java 1.7 and then make a browser use it
with my custom command-line options.

Can one use any »remote debugging/profiling« means of the
browser's JVM for this, even if the applet was not compiled
and started with options to support this?
 
Ad

Advertisements

R

Roedy Green

A website uses an applet. To analyze its run-time behavior,
it would be nice if one could substitute the browsers's JVM
by another JVM that traces all method calls to a file. (It
would be even better, if only calls from a method of the
applet to a Java SE method were traced.) Is anything like
this possible?

If the Applet is not doing anything too fancy with browser
interaction, you can make it into a hybrid, and debug it as an
application.

See http://mindprod.com/jgloss/applet.html
--
Roedy Green Canadian Mind Products
http://mindprod.com
Controlling complexity is the essence of computer programming.
~ Brian W. Kernighan 1942-01-01
..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top