更新时间:2023-11-10 10:11:28
找出 gdb.exe
在任何GCC工具链中的位置您
与Code :: Blocks一起使用,例如:-
Find out where gdb.exe
is located in whatever GCC toolchain you
are using with Code::Blocks, e.g:-
如果找不到它,那么问题的根源是已经(不再)安装调试器
。
If you can't find it then the root of the problem is that the debugger is (no longer) installed.
如果找到它,则在设置-> 调试器设置-> GDB / CDB调试器-> 中输入其完整路径名>默认-> 可执行路径。
Code :: Blocks将检查您输入的路径名,如果找不到,则编辑字段将变为红色。否则,请排除
,然后调试器将开始工作。
If you find it, then enter its full pathname in Settings -> Debugger settings -> GDB/CDB debugger -> Default -> Executable path. Code::Blocks will check the pathname you enter and if it can't find it then the edit-field will turn red. Otherwise, OK out and the debugger will then work.
如果目录包含 gdb.exe
在 PATH
中,则只需在字段中输入 gdb.exe
。
If the directory containing gdb.exe
is in your PATH
then you can simply enter gdb.exe
in the field.