[kaffe] bytecodes

Dalibor Topic robilad at kaffe.org
Wed Jan 7 09:48:01 PST 2004


Hi Eduardo,

Eduardo Melione Abreu wrote:
> Hi,
> 
> I would like to have a log file indicating those bytecodes that the 
> virtual machine really executed, and its arguments if possible.

Configure and build kaffe with the interpreter engine 
(--with-engine=intrp) and debugging enabled (--enable-debug). Then you 
can use

kaffe -vmdebug INT_INSTR YourClass

to see all the executed bytecodes. It doesn't show the arguments, 
though. It would be great if you could write a patch for that 
functionality, if you are not tainted, i.e. have looked at Sun's 
sources, decompiled them, etc.

cheers,
dalibor topic





More information about the kaffe mailing list