-
背景:如何安装WinDbg在已经安装 Visual Studio 2015 或 Visual Studio 2017 的情况下。由于需要cdb.exe作为QT Creator的调试器,而cdb是Windows SDK的一个插件开发工具。
-
参考链接
-
解决方案:安装Visual Studio 2015或者2017时,会自动下载安装Windows 10 SDK,不需要单独下载。Windows软件开发工具包”。无论是WinDbg和Windows的调试工具,还是是xperf和Windows性能工具包,都是通过选择VS安装程序中的复选框进行添加。此时,需要重新修改安装Windows 10上的对应的开发套件或开发工具,步骤如下
-
打开设置→系统→“应用程序和功能”,关键字搜索develop,如下
-
或者直接向下滚动找到“Windows Software Development Kit”。
-
单击右侧或右上角类似
'''
点击“修改”。 -
安装程序将启动,显示如下界面
-
选择“Change”选项,然后点击“Next”,显示如下:
Debugging Tools for Windows
打个勾,点击“change”开始安装,- That will present you the options dialog where you can check . For me (SDK 10.0.17134.12) it creates the file
c:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe