How to debug hotspot integrated with java codes

Colin(Du Li) dawn2004 at gmail.com
Fri Dec 12 14:42:03 PST 2008


Hi, guys.

Now I'm debugging Hotspot. I'm using GDB. When I debug the source codes
written in  c++, it's fine. But if the VM has launched, I cannot trace into
the source codes written in java. e.g. When I find Hotspot cannot load some
class, and I wanna step into the class java.lang.ClassLoader ,  I don't know
how to trace it. Apparently, I cannot do that with GDB. 
Can you guys give me some suggestion for debug in this situation?
I spend several days on this problem, and really need  some help on the
debug things.

Thanks a lot in advance!!



-- 
View this message in context: http://www.nabble.com/How-to-debug-hotspot-integrated-with-java-codes-tp20984867p20984867.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.




More information about the hotspot-dev mailing list