Code::Blocks调试报错 Starting the debuggee failed: No executable specified, use `target exec'

1.必须创建工程debug

2.工程名不可有特殊字符或空格,能够有字母、数字、下划线调试

2.编译器设置里勾选-g(产生调试符号)ci

3.从新编译项目(若是以前编译过了)get

4.调试器设置 > Default > 设置可执行路径为:   (安装路径)\CodeBlocks\MinGW\bin\gdb.exe编译器

5.设置断点,调试编译

上次升级Code::Blocks后调试器路径就变了(变成了这个CodeBlocks\MinGW\gdb32\bin\gdb32.exe),而后致使调试报错Starting the debuggee failed: No executable specified, use `target exec' table

相关文章
相关标签/搜索