Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   tracing JVM for applet analysis? (http://www.velocityreviews.com/forums/t946586-tracing-jvm-for-applet-analysis.html)

Stefan Ram 05-25-2012 09:36 AM

tracing JVM for applet analysis?
 
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_...va/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?


Roedy Green 05-28-2012 03:59 PM

Re: tracing JVM for applet analysis?
 
On 25 May 2012 09:36:07 GMT, ram@zedat.fu-berlin.de (Stefan Ram)
wrote, quoted or indirectly quoted someone who said :

> 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
..


All times are GMT. The time now is 12:41 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.