[英]Debugging with Dev-C++ 5.2.0.2 - Cannot find program file gdb.exe when debugging
I am using Orwell Dev-C++ 5.2.0.2 on 32-bit Windows XP.我在 32 位 Windows XP 上使用 Orwell Dev-C++ 5.2.0.2。 The compiler is TDM-GCC 4.6.1 32-bit.
编译器是 TDM-GCC 4.6.1 32 位。 Whenever I press F8 to debug, a error box appears, which says:
每当我按 F8 进行调试时,都会出现一个错误框,其中显示:
Error with debugging process : could not find program file gdb.exe.
Pressing Enter, another error box appears, which says:按 Enter 键,会出现另一个错误框,上面写着:
Error with debugging process : CloseHandle - gdb process
Then the debugging process stops.然后调试过程停止。 I can't debug.
我无法调试。 I have checked that gdb.exe exists in C:\Dev-Cpp\bin.
我检查过 C:\Dev-Cpp\bin 中是否存在 gdb.exe。 Why couldn't it be found?
为什么找不到? Anyone can help?
任何人都可以帮忙吗? Thank you!
谢谢!
You should add C:\Dev-Cpp\bin to your PATH environment variable.您应该将 C:\Dev-Cpp\bin 添加到您的 PATH 环境变量中。
Here's how: http://java.com/en/download/help/path.xml方法如下:http: //java.com/en/download/help/path.xml
You need to include C:\Dev-Cpp\bin in PATH to get this to work.您需要在 PATH 中包含 C:\Dev-Cpp\bin 才能使其正常工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.