Instrumenting byte code

Discussion in 'Java' started by seenuvas, Jan 23, 2006.

  1. seenuvas

    seenuvas Guest

    I want to Instrument java bytecode program to trace method behaviors .
    Is there any reference to do it. I saw BCEL Library provides facilities
    for doing. Is there anoy method for doing instrumentation. And Java 1.5
    also provides Instrument class. Can any one explain usage of
    Instrument class
    by

    Seenu
    seenuvas, Jan 23, 2006
    #1
    1. Advertising

  2. seenuvas

    Chris Uppal Guest

    seenuvas wrote:
    > I want to Instrument java bytecode program to trace method behaviors .
    > Is there any reference to do it.


    Googling for
    ASM instrument java
    finds lots of examples and articles about using the ASM bytecode library for
    this. Presumably a similar search replacing ASM with BCEL would be effective
    too.

    -- chris
    Chris Uppal, Jan 23, 2006
    #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. Andreas
    Replies:
    1
    Views:
    843
    Jonathan Bromley
    May 4, 2004
  2. Bharat Bhushan

    Appending byte[] to another byte[] array

    Bharat Bhushan, Aug 5, 2003, in forum: Java
    Replies:
    15
    Views:
    40,236
    Roedy Green
    Aug 5, 2003
  3. heisenberg

    instrumenting a constructor

    heisenberg, Oct 5, 2006, in forum: Java
    Replies:
    3
    Views:
    296
    Tor Iver Wilhelmsen
    Oct 6, 2006
  4. Derrick
    Replies:
    0
    Views:
    312
    Derrick
    May 22, 2007
  5. gelonida
    Replies:
    1
    Views:
    748
    Gabriel Genellina
    May 6, 2010
Loading...

Share This Page