Windows调试工具未安装

时间:2011-07-19 01:36:37

标签: windbg remote-debugging winapi

我正在尝试通过Windows SDK安装Windows调试工具,经过两次尝试后,我不知道该怎么做。我开始安装并没有收到任何错误,但调试工具(windbg和kd)无处可寻......日志旁边没用了:

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;

有没有人建议在哪里开始调试我无法安装调试工具?哦,具有讽刺意味!

5 个答案:

答案 0 :(得分:16)

如果您运行的是Windows 7和Visual Studio 2010 SP1:

(之前的答案已过时。)

根据微软的问题,这是问题:http://support.microsoft.com/kb/2717426

简而言之,请卸载这两个:

  • Microsoft Visual C ++ 2010 x86可再发行组件
  • Microsoft Visual C ++ 2010 x64可再发行组件

现在您应该可以通过Windows 7.1 SDK安装Windows调试工具。

之后,如果需要,可以重新安装Visual c + + 2010可再发行组件。

答案 1 :(得分:12)

如果您运行的是Windows 7和Visual Studio 2010 SP1:

由于缺少安装VS 2010 SP1时删除的编译器软件包,因此无法正确完成SDK的安装。 MS已经打了补丁,所以这是你的新安装顺序:

  1. 安装Windows 7.1 SDK
  2. 编译错误后,您的安装才会部分完成。安装Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1.
  3. 重新运行Windows SDK Web安装程序。选择第一个选项以向现有安装添加功能。
  4. 重新选择(在可再发行版或通用版下)所需的功能,包括调试工具。

答案 2 :(得分:6)

您可以在(Windows SDK x86或x64 DVD root)\ Setup \ WinSDKDebuggingTools和WinSDKDebuggingTools_amd64中找到安装程序包。请使用它们来安装调试工具。

请注意,由于微软最喜欢搞乱下载链接和文件的游戏,您必须使用搜索引擎找到ISO映像的最新下载链接。我不会在这个答案中始终跟踪它。

答案 3 :(得分:5)

花了好几个小时没有发现上述任何作品,只有几秒钟就把我愚蠢的机器粉碎成碎片,我在SO中偶然发现了the solution

它基本上表示对于 64位Window 7 ,安装" Windows版独立调试工具"发现here应该有用。

令人难以置信的是,它确实做到了:)

BTW,目标文件夹更改为" C:\ Program Files(x86)\ Windows Kits \ 8.1"

答案 4 :(得分:0)

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