how to debug into the java function from native call with GDB?
<p>there,
I have a C++ function call into Java module like this. My question is how to debug into the java code? In the program, there is a "JNI_CreateJavaVM()" function call to create the VM and load Java class into it. And I step into below code with GDB. 
This is really a trick to me. Please give me some idea. Thanks very much! </p>

<pre><code>void functions::call( jobject jo, const Parameter_list&amp; parameter_list ) const
{
    Env env;
    env-&gt;CallVoidMethodA( jo, id(), JVALUES_CAST(parameter_list.jvalue_array()) );
    if( env-&gt;ExceptionCheck() )  env.throw_java( "CallVoidMethodA" );
}
jni.h:
void CallVoidMethodA(jobject obj, jmethodID methodID,
         const jvalue * args) {
    functions-&gt;CallVoidMethodA(this,obj,methodID,args);
}
</code></pre>
