Debugging JNI code...
Posted on 2001-07-12
I have written a simple .java file which calls a "native" method implemented in JNI code (c++). The JNI code is trying to open a file and return the file content as a objectArray to the .java code. Something is going wrong in my JNI code and I would like to debug it and step through the JNI code. Can anyone offer me suggestions on how I can debug the code?
I am using Sun's Java 2 runtime/SDK, Forte Standard Edition as the development environment for the Java code. I used Microsoft's Visual Studio to write the JNI/C++ code. All the development work is being done on Microsoft Windows NT 4.0.
Thanks in advance!