I am running Qt Creator 2.3.0 based on Qt 4.7.4 on a 64-bit version of Windows 7. When I run the application from Qt Creator (ctrl + r), everything works fine. However, when I debug (F5), each line is executed forever - as sometimes after 2 minutes to execute one line of code.
In the debugger log window, I noticed this line: Debugger: C: \ Program Files (x86) \ Debugging Tools for Windows (x86) \ cdb.exe. I thought, since I am running Windows 7 x64, I have to use a 64-bit debugger. Thus, I downloaded and installed the Microsoft Windows SDK for Windows 7 and the .NET Framework 3.5 SP1, as suggested to each other.
Now I see that in Tools..Options..Tool Chains I have a number of automatic detected tools. If I select any of the Microsoft Windows SDKs for Windows - x86, x64, ia64 or any of the Microsoft Visual C ++ Compiler 9.0 - x86, amd64, x64, ia64 - the debugger is set to "C: \ Program Files (x86) \ Debugging for Windows (x86) \ cdb.exe "and is disabled, so I canβt change it.
How to convince Qt Creator to use the 64-bit version of cdb? Is this due to my main problem - super-slow debugging?
source share