Debugging a JNI dll
Hello,anyone have any clues on how to debug a JNI dll from visual studio? Just attach to the Java process in question, and place your breakpoint?Regards,Helge Fredriksen
1. Open your DLL project in VS, and set breakpoints as you need them2. Search the VS settings for one which is the "calling program". Make the calling program java.exe.3. Supply commandline parameters to be passed to java.exe, such that the JVM runs your java program.