I've been trying to debug a JNI project using the process attachment feature. At first, I fire the Java program, and then, when I fire the C program, I suppose to choose the javaw.exe process.
The tutorial I used for JNI debugging
The problam is, when I suppose to choose the right process, the process list seem to be empty:
Here is my debug configuration:
What can I do? Should I replace the debugger?
Thanks in advance, Mark.
I encountered this problem using eclipse CDT plugin in Eclipse Juno on windows. Using sysinternals process monitor I discovered that eclipse was looking for a class file:
C:\Program Files\eclipse\plugins\org.eclipse.cdt.core.win32.x86_64_5.2.0.201209170703\org\eclipse\cdt\internal\core\win32\ProcessList.class
but not finding it (Eclipse is installed on my system in C:\Program Files\eclipse). The missing class file is present in the jar file:
C:\Program Files\eclipse\plugins\org.eclipse.cdt.core.win32_5.3.0.201209170703.jar
I am not sure why eclipse can't find the file in the jar. I copied the entire "org" directory tree out of the org.eclipse.cdt.core.win32_5.3.0.201209170703
jar into the file system. Having done that, eclipse can now find the file
C:\Program Files\eclipse\plugins\org.eclipse.cdt.core.win32.x86_64_5.2.0.201209170703\org\eclipse\cdt\internal\core\win32\ProcessList.class
(and other files in that jar) and the process pick list is now populated.