Unable to detect Windows debugging tools
I’m trying to debug my projects with the native windows debugging tools. I have Qt Creator 2.4.1, VS2010 and the new Windows 8 SDK preview debugging tools (the only debugging tools available atm?).
When trying to debug the program, I just get a message about not being able to detect the preferred debugger engine for debugging binaries of type x86-windows-msvc2010-pe-32bit.
As far as I could see there is no standalone package for the debugger tools anymore. It’s only the Win8 SDK:
There is an option for installing only the debugging tools, which is what I did, but it is basically just to install the WinSDK package and uncheck all the other componets, as explained on the above webpage:
“If you do not want an entire kit (WDK or SDK), you can install the Debugging Tools as a standalone component from the Windows SDK. In the installation wizard, select Debugging Tools, and clear other components that you don’t want.”
But are these paths really hardcoded into QtCreator? Shouldn’t there be a configuration path to set these paths?
So far the path to the debugging tools was stable (we do look in a couple of places), so there was no need to have it configurable. Let’s hope that they will stick with the current location for a while… then we do not need it configurable now either.
Yes, I see that this is annoying for you, but we can not support 3rd party applications that were not even around at the time when we released Creator.
Oh, I’m not that annoyed :-) i’m just a bit surprised that it isn’t configurable, at least through a config file. It wouldn’t even have to be exposed in the GUI. I suppose it would have spared you for these kinds of problems when MS decides they want to move things about.
Anyway, I’m really looking forward to2.5, especially the new refactoring stuff. Is there a planned release date yet?
I had the same problem … and I simply created a link:
- Open a command prompt with admin rights
- cd “\Program Files”
- mklink /D “Debugging Tools for Windows (x86)” “C:\Program Files\WinDDK\7.1\Debuggers”
Did this on a Vista x86 system and everything works like a charm. Of couse you need to adapt your paths and the link name depending on your installation and system. If you’re running ol’ XP, get the “junction” utility from Windows Sysinternals [technet.microsoft.com]