Twa*_*ood 16 java linux java-native-interface gdb shared-libraries
任何人都可以指导如何使用GDB调试器在Linux上调试JNI代码(如果可能请建议其他选项).
-My JNI project when running on Linux is leading to a JVM crash.
-The CPP code has been compiled into .so files.
-I run the project like this : *java xyz.jar -commandline_args_to_project*.
Run Code Online (Sandbox Code Playgroud)
我安装了Gdb,但我没有得到如何使用它来调试项目.我是否还需要使用-g选项t debug .so文件编译.cpp文件?