[kaffe] Debugging
Pinaki Mukherjee
pinaki2003 at yahoo.com
Wed Nov 17 23:13:55 PST 2004
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20041117/c63b4626/attachment-0006.htm
More information about the kaffe
mailing list