Debugging with Dev-C++ 22.214.171.124 - Cannot find program file gdb.exe when debugging
I am using Orwell Dev-C++ 126.96.36.199 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
Is C:\Dev-Cpp\bin included in PATH?