Sunday, March 11, 2012

Qt Creator Debugger problem on Windows

I got the following error message when trying to debug an application built using Qt Creator on Windows. The application started but no debugging could be done as Gdb was not installed on my system.

The preferred debugger for debugging binaries of type 'x86-windows-msvc-2008-pe-32bit' is not available.

The debugger engine 'Gdb engine' will be used as fallback.

Details: There is no CDB binary available for binaries in format 'x86-windows-msvc-2008-pe-32bit'

Finally, I figured out it was due to the absence of CDB.exe in the Presence of C:\Program Files\Debugging Tools for Windows directory. Qt Creator looks for the MS Windows debugger in that location. This problem can be solved by installing the right version of the debugger from the Windows SDK or DDK from

http://www.microsoft.com/download/en/details.aspx?id=8442

OR

http://msdn.microsoft.com/en-us/windows/hardware/gg463009

OR

http://msdn.microsoft.com/en-us/windows/hardware/gg487428

To get the debugger installed at the C:\Program Files\Debugging Tools launch the setup programs from the Debuggers directory in the WDK or DDK cd/dvd.

No comments:

Post a Comment