1
错误如下:
Building to ensure sources are up-to-date
Selecting target:
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))
原因为 你没有调试器,
步骤如下:
\CodeBlocks\MinGW\gdb32\bin\gdb32.exe (我用的是机房的电脑) 根据自己电脑自己找;路径改一下就行,然后重启coldblocks就行;
这是这几天不能调试苦了我自己了,以后遇到不能调试的情况我都会写在这里不断更新。
(记住源码的路径千万不能设置带有中文,否则不能调试);