简体   繁体   中英

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. The compiler is TDM-GCC 4.6.1 32-bit. Whenever I press F8 to debug, a error box appears, which says:

Error with debugging process : could not find program file gdb.exe.

Pressing Enter, another error box appears, which says:

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. Why couldn't it be found? Anyone can help? Thank you!

You should add C:\Dev-Cpp\bin to your PATH environment variable.

Here's how: http://java.com/en/download/help/path.xml

You need to include C:\Dev-Cpp\bin in PATH to get this to work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM