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

本文详细介绍了在CodeBlocks中配置调试器的过程,特别是针对TDM-GCC-64编译器的gdb64.exe设置。文章提供了错误信息的解决方案,包括如何指定正确的调试程序,并解决了运行调试后只能执行一次的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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)\CodeBlocks\TDM-GCC-64\bin\gdb64.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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值