Connecting a debugger to a JVM created using JNI
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Neal_Coles
Posted On:   Thursday, August 17, 2006 10:46 AM

I have a C++ DLL which use the JNI to create a JVM and then invoke java methods.

I would like to debug this java code when invoked via the C++ DLL as I am getting exceptions from the java and cannot find the reason.

The java code runs correctly (no exceptions) when invoked through a java test harness.

I have been trying to connect to the JVM using remote debugging in eclipse.

I have the following specified the -Xdebug option when creating the JVM.

Any suggestions???

About | Sitemap | Contact