Windows Debugging Tools Not Installing

纵饮孤独 提交于 2019-12-20 18:55:20

问题


I'm trying to install the Windows Debugging Tools via the Windows SDK and after two attempts I am at a loss for what to do. I start the installation and receive no errors at all but the debugging tools (windbg and kd) are nowhere to be found... The log is next to useless:

9:16:59 PM Monday, July 18, 2011: [SDKSetup:Info] Config_Products_DetermineProductState_End:   Product: Windows Debugging Tools 
9:16:59 PM Monday, July 18, 2011: [SDKSetup:Info] Config_Products_DetermineProductState_Begin: Product: Redistributable Components for Application Verifier and Windows Debugging Tools 
9:16:59 PM Monday, July 18, 2011: [SDKSetup:Info] Config_Products_DetermineProductState:       Product: Redistributable Components for Application Verifier and Windows Debugging Tools;  Installed: Unknown;

Does anyone have any suggestions as to where to start debugging why I am unable to install the debugging tools? Oh, the irony!


回答1:


You can find the installer packages at (Windows SDK x86 or x64 DVD root)\Setup\WinSDKDebuggingTools and WinSDKDebuggingTools_amd64. Please use them to install the Debugging Tools.

Note that due to Microsoft's favourite game of messing up download links and files, you will have to use a search engine to locate the latest download link for the ISO images. I would not track that always in this answer.




回答2:


If you're running Windows 7 AND Visual Studio 2010 SP1:

(The previous answer is out of date.)

Here's the problem according to microsoft: http://support.microsoft.com/kb/2717426

In a nutshell, uninstall these two:

  • Microsoft Visual C++ 2010 x86 Redistributable
  • Microsoft Visual C++ 2010 x64 Redistributable

Now you should be able to install Windows Debugging Tools via the Windows 7.1 SDK.

Afterward, you may reinstall the Visual c++ 2010 redistributables if you want.




回答3:


If you're running Windows 7 AND Visual Studio 2010 SP1:

Your installation of the SDK won't complete properly, due to missing compiler packages that were removed when VS 2010 SP1 was installed. MS has since patched this, so here is your new installation order:

  1. Install the Windows 7.1 SDK.
  2. Your installation will only be partially complete after the compiler error. Install the Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1.
  3. Re-run your Windows SDK web installer. Choose the first option to add features to the existing installation.
  4. Re-choose (either under redistributables or common) the desired features, including the Debugger Tools.



回答4:


After spending hours finding out none of the above works, and only seconds away from smashing my stupid machine to bits, I stumbled upon the solution in SO.

It basically says that for 64-bit Window 7, installing the "Standalone Debugging Tools for Windows 8.1" found here should work.

Unbelievably, it actually did :)

BTW, the target folder changed to "C:\Program Files (x86)\Windows Kits\8.1"




回答5:


I faced the same issue and debug message was "Debug Policy is set to 0". After reading the above comments what I did was came up with the minimal package needed for WinDBG install, just by trial and error. The following three packages did the trick.

Debugging Tools for Windows

Windows App Certification

MSI tools

I had a successful install and it worked fine too. I am using Windows 7 64 bit



来源:https://stackoverflow.com/questions/6741385/windows-debugging-tools-not-installing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!