I have a project in Qt Creator that builds fine, but when I try to debug it I get this message:
Adapter start failed Unable to start gdb 'C:\Qt\2010.02.1\mingw\bin\gdb.exe': Process failed to start: The directory name is invalid
If I navigate to the debug build folder and directly run my compiled application, it will run fine, but obviously there's no debugging support. Additionally, gdb.exe is present at C:\Qt\2010.02.1\mingw\bin\gdb.exe, but Qt Creator can't seem to run it. How can I fix this problem?
I've had the same error, despite gdb did exist in the specified path and started without errors from command line. It turned out that the Working directory in the project settings didn't exist.
Tools->Options->Debugger->Gdb From Gdb location you can set the path to your preferred GBD.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With