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
[197 byte] By [helgefredriksena] at [2007-10-3 2:28:21]
# 1
Are you going to debug your own code? Try to insert call to DebugBreak( ) into your DLL's code, run and attach debugger after prompt.
Michael.Nazarov@sun.coma at 2007-7-14 19:27:25 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
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.
bschauwejavaa at 2007-7-14 19:27:25 > top of Java-index,Java HotSpot Virtual Machine,Specifications...