How to get Line numbers in KVM stack traces
Hello!
I am fairly new to kvm programming and might have missed the obvious. When my program dumps a stack trace under kvm it gives me an offset (I dont know what the number corresponds to) from the method but not source line numbers like I am used to seeing under J2SE. I complie the code using -g and run it using kvm_g. For example, I see soemething like
java.lang.NullPointerException
at myclass.mymethod(+5)
at parentclass.parentmethod(+10)
Where I dont know what the +5 or +10 stand for as it relates to my source code.
Can somebody help with trying to correlate the stack trace to my source code.
Thanks.
Ranga.

