[kaffe] Debugging

Pinaki Mukherjee pinaki2003 at yahoo.com
Sat Nov 20 11:32:18 PST 2004


Please, can somenody answer this one...
 
Thanks.


Pinaki Mukherjee <pinaki2003 at yahoo.com> wrote:
Hi,
 
I modified kaffe.def for each instruction and want to test whether they are correct. I want to step through each JVM instruction that is executed in Kaffe. I think this consists of instructions for VM creation, the actual application execution and the VM destruction. How do I do this? 
 
I tried the following:
1. First put a breakpoint in the function runVirtualMachine and then run. After the breakpoint is hit, it will run the instructions for VM creation until function main2 is hit (is that right?). But I do not have a list of the instructions executed for VM creation, so this is difficult.
2. I put a breakpoint in main2 and ran upto this point. After that, I put a breakpoint in runVirtualMachine. I think after this point the VM will execute instructions from the actual application. But when I step inside kaffe.def, the first instruction executed (LDC1) is different from the first instruction in main (ALOAD_0). I don't understand why this is happening.
 
Thank you.
 
Pinaki


---------------------------------
Do you Yahoo!?
The all-new My Yahoo! – Get yours free! _______________________________________________
kaffe mailing list
kaffe at kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

			
---------------------------------
Do you Yahoo!?
 The all-new My Yahoo! – Get yours free!    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20041120/3b114fed/attachment-0006.htm 


More information about the kaffe mailing list