I have a C++ application that uses the Java Native Interface and creates a JVM in order to execute Java code. How can I debug this Java code while it is being executed within my C++ application? I have all the relevant Java source code, and I'd like to set breakpoints and watch object data within Eclipse.
I've heard of JDPA and JDWP as tools to accomplish this, but I have no idea about the specific steps. Is there a tutorial for this kind of debugging situation?