Debug Java Code called via JNI
I have a piece of code where I am creating a Java VM via JNI and then invo开发者_运维技巧king a method on a java .class file.
How do i debug the java code via an IDE say eclipse or Netbeans. My c++ project is setup in visual studio and the java project is setup using eclipse. Till now I was using logs to debug the java code.
You need to use remote debugging see http://java.dzone.com/articles/how-debug-remote-java-applicat
精彩评论