[英]VS2022: Debug doesn't stop at breakpoint. The debugger is not properly installed. Cannot debug the requested type of code
[英]VS2017: The debugger is not properly installed. Cannot debug the requested type of code
我安裝了 Visual Studio 2017 企業版,當我運行我的應用程序時出現以下錯誤。
我為Visual Studio 2017社區解決了此問題。
清理文件夾:
然后恢復Visual Studio
PS發生此問題是因為dll已損壞。 這是這種情況
這似乎是一個已知問題,正在由VS 2017團隊進行調查。 此處提供更多信息: https : //developercommunity.visualstudio.com/content/problem/26630/the-debugger-is-not-properly-installed-cannot-debu.html
嘗試選擇其他瀏覽器(綠色“運行”三角形旁邊)。 如dajo所指出,有關更多信息, 請訪問https://developercommunity.visualstudio.com/content/problem/26630/the-debugger-is-not-properly-installed-cannot-debu.html 。
安裝Visual Studio 2015專業版。
我真的希望這不是答案,但這是我解決debugger not installed
問題的唯一方法。
我在卸載了一些 Microsoft SDK 后遇到了這個問題(我的 PC 上有 0kb 空間,所以開始從控制面板中刪除隨機內容,並認為我只從以前的項目中安裝了這些 SDK,哎呀!)
我有 1 個論壇說要安裝我通過“Visual Studio Installer”應用程序安裝的“Windows Communication Foundation”模塊,但這並沒有解決。
然后我對 Visual Studio 進行了全面修復,還“檢查了 Windows 更新”,因為多年來很多 SDK 肯定來自 Windows 更新。
我是如何解決問題的(檢查每個步驟后問題是否得到解決):
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.