2017-09-15 117 views
1

我需要cdb.exe作爲QT Creator的調試器。我知道cdb作爲Windows SDK的一部分提供,但是當我通過Visual Studio 2017安裝程序安裝Windows SDK時未安裝。另一方面,如果我安裝Windows SDK獨立版(可用here),則可以選擇「調試工具」,最後我會得到Windows kits中包含cdb的預期文件夾Debuggers如何使用Visual Studio 2017安裝程序安裝調試工具?

如何在Visual Studio安裝過程中獲得cdb

+1

VS附帶的SDK的壓縮版本,只需要構建和調試VS.什麼完整的SDK是一個單獨的下載。 –

回答

2

你不能。

當Visual Studio安裝程序(2017,2015或任何其他版本)爲您提供「Windows SDK 10.xxxxx」複選框時,它的真正含義是「僅頭(.h),庫(.lib),元數據(.winmd)等從Windows SDK 10.xxxxx「。

它不包含您在Windows SDK安裝程序中看到的任何選項,而不是「Windows軟件開發工具包」。通過選擇VS安裝程序中的複選框,WinDbg和Windows調試工具,xperf和Windows性能工具包,應用程序驗證程序以及您在SDK安裝程序中看到的任何其他內容都不包含在內。

術語「Windows SDK」被重載,兩個含義是相關但不相同的。 sdksetup.exe可以安裝Windows SDK ,而VS安裝程序安裝Windows SDK (它是Windows SDK 的子集)。

enter image description here (忽略箭頭圖片來源:https://www.raymond.cc/blog/analyze-windows-7-performance-with-microsoft-windows-performance-toolkit/

相關問題