今天重新安装了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了