[英]Debugging with Dev-C++ 5.2.0.2 - Cannot find program file gdb.exe when debugging
我在 32 位 Windows XP 上使用 Orwell Dev-C++ 5.2.0.2。 編譯器是 TDM-GCC 4.6.1 32 位。 每當我按 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。 為什么找不到? 任何人都可以幫忙嗎? 謝謝!
您應該將 C:\Dev-Cpp\bin 添加到您的 PATH 環境變量中。
方法如下:http: //java.com/en/download/help/path.xml
您需要在 PATH 中包含 C:\Dev-Cpp\bin 才能使其正常工作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.