我正在尝试单步执行程序,并且从Code :: Blocks得到以下消息
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))
不幸的是,我无法弄清楚在哪里输入gdb.exe。
在Code :: Blocks IDE中,浏览设置->调试器
在右侧的树控件中,选择Common- > GDB / CDB调试器-> Common。
然后,在左侧的对话框中,您可以输入Executable path并选择Debugger type = GDB或CDB,以及配置其他各种选项。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句