今天重新安装了code::block 发现尽然不能dubug
一直报这个错:
The debugger executable is not set.
To set it, go to "Settings/Compiler and debugger", switch to the "Programs" tab,
and select the debugger program.
因为以前装了 就可以用的 以为真的是code::block没设置好
到下午才发现 是centos 中没装 gdb (天啊太郁闷了!)
yum -y install gdb
就ok了
本文介绍了在使用Code::Blocks时遇到无法调试的问题及解决方法。作者发现未正确配置调试器导致错误提示,并最终确定是由于系统缺少gdb调试器造成的。通过安装gdb解决了该问题。

被折叠的 条评论
为什么被折叠?



