codeblocks17.12 debug 报错:ERROR: You need to specify a debugger program in the debuggers's settings.

Debug
ERROR: You need to specify a debugger program in the debuggers's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))
 

看图片:

 

网上查找配置:

1:https://stackoverflow.com/questions/21083560/how-do-you-specify-a-debugger-program-in-codeblocks-12-11/33289596

整理好了,但是会出现只能运行一次:

解决参考:http://tieba.baidu.com/p/3491019377

编译器配置:

注意:编译器不是 Codeblocks 自家的 MinGW, 而是 TDM-GCC-64  !!!!!!

 

 Executable path: D:Program Files (x86)CodeBlocksTDM-GCC-64ingdb64.exe (此处是 编译器 的安装路径,注意: 32位系统选择 gdb.exe, 64位系统选择: gdb64.exe)

 

运行调试完成的界面:

 

如何调试参考:http://www.docin.com/p-894823578.html

Reference:

https://blog.csdn.net/heda3/article/details/80637294

https://blog.csdn.net/baibaigao/article/details/80990266

 
---------------------
作者:漠北尘-Gavin
来源:CSDN
原文:https://blog.csdn.net/xrinosvip/article/details/82142146
版权声明:本文为博主原创文章,转载请附上博文链接!

原文地址:https://www.cnblogs.com/dongguolei/p/9927653.html