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.
You need to use remote debugging see http://java.dzone.com/articles/how-debug-remote-java-applicat
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.