Instrumenting byte code

S

seenuvas

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
 
C

Chris Uppal

seenuvas said:
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
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top