我想使用eclipse来调试我正在编写的JNI应用程序的C代码。我已经按照一些教程完成了以下工作:
此时我收到一个错误窗口“gdborig.exe已停止工作”,并在控制台中输出以下内容:
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
我有点卡住,因为我看不到错误信息。
答案 0 :(得分:0)
解决了如下: 调试配置&gt;选择我的配置&gt;调试&gt;“选择其他...”在底部选择“使用传统附加处理启动器” 然后在Debugger中,选择MinGW gdb