问题
I have a piece of code where I am creating a Java VM via JNI and then invoking 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.
回答1:
You need to use remote debugging see http://java.dzone.com/articles/how-debug-remote-java-applicat
来源:https://stackoverflow.com/questions/5864865/debug-java-code-called-via-jni