[kaffe] Debugging Tools for the VM

Fabio Fracassi fracassi at cs.uni-bonn.de
Mon Oct 7 16:52:02 PDT 2002


Hi,

I am working on Gilgul, a Kaffe based extension to the Java Language 
(http://javalab.cs.uni-bonn.de/research/gilgul/). At the moment I am porting 
our changes to the 1.0.7 Version of Kaffe.

I've ran into problems which happen somewhere during the initialisation of an 
Application, which makes it very hard to Trace, since the Code is part Java, 
part C.

I am realativly new to this, so I'd like to ask If someone could direct me to 
some resources on debugging the VM, i.e. how can I trace the program flow of 
the Basic Java Classes, such as java.lang.System or java.lang.Object. How can 
I handle the methods that are written in C (the native ones) or how can I 
find out where exactly an "Internal Exeption" (i.e. one cast by the VM) is 
thrown or how can I set a breakpoint in the Java code, while still stepping 
through the VM's code.

Are there any Tools or Documentation which can help me in such tasks? Is there 
any more In-Depth Documentation on the internal debugging System of Kaffe?

Thanks in Advance

Fabio Fracassi





More information about the kaffe mailing list