Windows 调试工具未安装

发布于 2024-11-24 10:21:13 字数 699 浏览 3 评论 0原文

我正在尝试通过 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;

有没有人对从哪里开始调试有任何建议,为什么我无法安装调试工具?哦,讽刺的是!

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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

土豪 2024-12-01 10:21:13

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

之前的答案已过时。)

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

简而言之,卸载这两个:

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

现在您应该能够通过 Windows 7.1 SDK< /a>.

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

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.

秋凉 2024-12-01 10:21:13

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

您的 SDK 安装将无法正常完成,因为缺少安装 VS 2010 SP1 时删除的编译器包。 MS 已修复此问题,因此这是新的安装顺序:

  1. 安装 Windows 7.1 SDK
  2. 出现编译器错误后,您的安装将仅部分完成。安装适用于 Windows SDK 7.1 的 Microsoft Visual C++ 2010 Service Pack 1 编译器更新。
  3. 重新运行您的 Windows SDK Web 安装程序。选择第一个选项将功能添加到现有安装中。
  4. 重新选择(在可再发行或公共下)所需的功能,包括调试器工具。

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.
纸短情长 2024-12-01 10:21:13

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

请注意,由于 Microsoft 最喜欢的游戏是弄乱下载链接和文件,因此您必须使用搜索引擎来查找 ISO 映像的最新下载链接。我不会总是在这个答案中跟踪这一点。

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.

不知在何时 2024-12-01 10:21:13

在花了几个小时发现上述方法都不起作用之后,距离将我愚蠢的机器砸成碎片只有几秒钟的时间,我偶然发现了解决方案 在SO中。

它基本上表示,对于 64 位 Window 7,安装“Windows 8.1 的独立调试工具”这里应该可以工作。

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

顺便说一句,目标文件夹更改为“C:\Program Files (x86)\Windows Kits\8.1”

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"

死开点丶别碍眼 2024-12-01 10:21:13

我遇到了同样的问题,调试消息是“调试策略设置为 0”。阅读上述评论后,我所做的只是通过反复试验,想出了安装 WinDBG 所需的最小软件包。下面的三个包就达到了目的。

Windows 调试工具

Windows 应用程序认证

MSI 工具

我已成功安装并且运行良好。我使用的是 Windows 7 64 位

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文