twid
twid

Reputation: 6686

how to debug jvm.dll or java process in gdb , like we debug any other executable?

how to debug jvm.dll or java process in gdb , like we debug any other executable? Normally when we want to create Executable with debug symbols, We use gcc -g exmaple.c -o exmaple, So is there any JVM is avialable, So we can debug JVM at runtime?

Upvotes: 1

Views: 843

Answers (1)

npe
npe

Reputation: 15699

If you really want to debug the JVM executable, I suggest starting with OpenJDK.

Get the source code, build it from scratch (adding any debug flags you want), and then debug.

Upvotes: 1

Related Questions