我在32位Windows XP上使用Orwell Dev-C ++ 5.2.0.2。编译器是32位TDM-GCC 4.6.1。每当我按F8进行调试时,都会出现一个错误框,其中显示:
Error with debugging process : could not find program file gdb.exe.
按Enter键,出现另一个错误框,其中显示:
Error with debugging process : CloseHandle - gdb process
然后调试过程停止。我无法调试。我检查过C:\ Dev-Cpp \ bin中存在gdb.exe。为什么不能找到它?有人可以帮忙吗?谢谢!
答案 0 :(得分:0)
您应该将C:\ Dev-Cpp \ bin添加到PATH环境变量中。
答案 1 :(得分:-1)
PATH中是否包含C:\ Dev-Cpp \ bin?