tracing JVM for applet analysis?

Discussion in 'Java' started by Stefan Ram, May 25, 2012.

  1. Stefan Ram

    Stefan Ram Guest

    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?
     
    Stefan Ram, May 25, 2012
    #1
    1. Advertising

  2. Stefan Ram

    Roedy Green Guest

    On 25 May 2012 09:36:07 GMT, -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
    ..
     
    Roedy Green, May 28, 2012
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?=
    Replies:
    2
    Views:
    865
    =?ISO-8859-1?Q?Peter_Valdemar_M=F8rch?=
    Jul 23, 2003
  2. Kevin Hooke

    Re: Handling both MS JVM and Sun JVM

    Kevin Hooke, Aug 26, 2003, in forum: Java
    Replies:
    2
    Views:
    881
  3. Lasse
    Replies:
    1
    Views:
    704
    Jon A. Cruz
    Jan 5, 2004
  4. Young-Jin Lee

    MS JVM and Sun JVM problem

    Young-Jin Lee, Jan 20, 2004, in forum: Java
    Replies:
    3
    Views:
    579
    Mickey Segal
    Jan 21, 2004
  5. ssubbarayan
    Replies:
    5
    Views:
    2,340
    Dave Hansen
    Nov 3, 2009
Loading...

Share This Page