使用Dev-C ++ 5.2.0.2进行调试 - 调试时无法找到程序文件gdb.exe

时间:2012-06-15 01:22:56

标签: c++ debugging gdb dev-c++

我在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。为什么不能找到它?有人可以帮忙吗?谢谢!

2 个答案:

答案 0 :(得分:0)

您应该将C:\ Dev-Cpp \ bin添加到PATH环境变量中。

以下是:http://java.com/en/download/help/path.xml

答案 1 :(得分:-1)

PATH中是否包含C:\ Dev-Cpp \ bin?

相关问题