Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > tracing JVM for applet analysis?

Reply
Thread Tools

tracing JVM for applet analysis?

 
 
Stefan Ram
Guest
Posts: n/a
 
      05-25-2012
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?

 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      05-28-2012
On 25 May 2012 09:36:07 GMT, http://www.velocityreviews.com/forums/(E-Mail Removed)-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
..
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS JVM and Sun JVM problem Young-Jin Lee Java 3 01-21-2004 04:25 AM
Different behavior for newStringUTF() for Sun JVM and IBM Jvm Lasse Java 1 01-05-2004 07:49 PM
Re: Handling both MS JVM and Sun JVM Kevin Hooke Java 2 09-02-2003 05:31 AM
How to pass a JVM argument to an Applet? Ahmed Moustafa Java 0 08-21-2003 02:48 PM
Can't Copy text unless console is opened before applet with JTextField in Sun's JVM =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?= Java 2 07-23-2003 10:28 AM



Advertisments