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))
html
看图片:.net
网上查找配置:debug
1:https://stackoverflow.com/questions/21083560/how-do-you-specify-a-debugger-program-in-codeblocks-12-11/332895963d
整理好了,可是会出现只能运行一次:调试
解决参考:http://tieba.baidu.com/p/3491019377code
编译器配置:htm
注意:编译器不是 Codeblocks 自家的 MinGW, 而是 TDM-GCC-64 !!!!!!blog
Executable path: D:\Program Files (x86)\CodeBlocks\TDM-GCC-64\bin\gdb64.exe (此处是 编译器 的安装路径,注意: 32位系统选择 gdb.exe, 64位系统选择: gdb64.exe)图片
运行调试完成的界面:ip
如何调试参考:http://www.docin.com/p-894823578.html
Reference:
https://blog.csdn.net/heda3/article/details/80637294
https://blog.csdn.net/baibaigao/article/details/80990266