VS2015 加载符号真的很慢 [英] VS2015 is really slow loading symbols

查看:192
本文介绍了VS2015 加载符号真的很慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我遇到了一个问题,我尝试在 VS2015 中调试的任何程序都需要很长时间才能为我的程序和其他程序加载所有 pdb(对于一个简单的 dx12 示例,大约需要 20 分钟或更长时间).我可以跳过它们,但实际上出于各种原因我真的希望它们加载.

这不是解决方案或项目的问题,因为我在调试标准 microsoft 样本时遇到问题,即托管在 github 上的 dx12 样本.我相信我的所有设置对于符号设置都是正确的,这是我的设置:

我也已经尝试清空我的符号缓存并重新加载它们.这也需要年龄!我的符号缓存位于 SSD 上,看起来工作正常.我的互联网连接正常 19ms ping,下降 45Mb,上升 18.7Mb.

一个意想不到的事情是消息说找不到符号:

<块引用>

D3D12Fullscreen.exe"(Win32):加载C:\Windows\System32\ntdll.dll".无法找到或打开 PDB 文件.'D3D12Fullscreen.exe' (Win32):加载C:\Windows\System32\kernel32.dll".无法找到或打开 PDB文件.D3D12Fullscreen.exe"(Win32):已加载'C:\Windows\System32\KernelBase.dll'.无法找到或打开 PDB文件.D3D12Fullscreen.exe"(Win32):已加载'C:\Windows\System32\user32.dll'.无法找到或打开 PDB 文件.D3D12Fullscreen.exe"(Win32):已加载'C:\Windows\System32\win32u.dll'.无法找到或打开 PDB 文件.D3D12Fullscreen.exe"(Win32):加载C:\Windows\System32\dxgi.dll".无法找到或打开 PDB 文件.'D3D12Fullscreen.exe' (Win32):加载C:\Windows\System32\D3DCompiler_47.dll".无法找到或打开PDB 文件.D3D12Fullscreen.exe"(Win32):已加载'C:\Windows\System32\gdi32.dll'.无法找到或打开 PDB 文件.D3D12Fullscreen.exe"(Win32):已加载'C:\Windows\System32\msvcrt.dll'.无法找到或打开 PDB 文件.D3D12Fullscreen.exe"(Win32):已加载'C:\Windows\System32\gdi32full.dll'.无法找到或打开 PDB 文件.

(顺便说一句,只用了 10 分钟就可以做到那么远).这真的很奇怪,因为您可以看到它们都是标准的 dll.

任何帮助将不胜感激.

非常感谢.

我正在使用这个版本的 VS2015:

<块引用>

Microsoft Visual Studio Enterprise 2015 版本 14.0.25425.01 更新 3微软 .NET 框架版本 4.6.02001

安装版本:企业版

架构和建模工具 00322-90150-00888-AA088 Microsoft架构和建模工具UML® 和 Unified Modeling Language™ 是 Object Management Group, Inc. 在美国的商标或注册商标和其他国家/地区.

Visual Basic 2015 00322-90150-00888-AA088 Microsoft Visual Basic2015

Visual C# 2015 00322-90150-00888-AA088 Microsoft Visual C# 2015

Visual C++ 2015 00322-90150-00888-AA088 Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU 00322-90150-00888-AA088 Windows PhoneSDK 8.0 - ENU

Visual Studio 包 7.5.00830.1 的 Application Insights 工具适用于 Visual Studio 的应用程序洞察工具

ASP.NET 和 Web 工具 2015.1 (Beta8) 14.1.11107.0 ASP.NET 和 Web工具 2015.1(Beta8)

ASP.NET Web 框架和工具 2012.2 4.1.41102.0 其他信息,请访问 http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web 框架和工具 2013 5.2.40314.0 其他信息,请访问 http://www.asp.net/

Common Azure Tools 1.8 提供供 Azure 使用的通用服务移动服务和 Microsoft Azure 工具.

JavaScript 语言服务 2.0 JavaScript 语言服务

JavaScript 项目系统 2.0 JavaScript 项目系统

Microsoft Azure 移动服务工具 1.4 Microsoft Azure 移动服务工具

NuGet 包管理器 3.4.4 Visual Studio 中的 NuGet 包管理器.有关 NuGet 的更多信息,请访问 http://docs.nuget.org/.

NVIDIA Nsight Visual Studio 版 5.0.0.15294 NVIDIA Nsight VisualStudio Edition 提供用于 GPGPU 和图形开发的工具.版权所有 © NVIDIA 2010 - 2015. •Direct3D® 和 DirectX® 已注册Microsoft Corporation 在美国和/或其他国家的商标国家.•Microsoft Detours 在 Professional 许可下使用(http://research.microsoft.com/en-us/projects/detours/).•花园点解析器生成器 版权所有 2005 昆士兰大学技术(QUT).版权所有.•NLog 版权所有 © 2004-2006Jaroslaw Kowalski (jaak@jkowalski.net) •使用IronPython 和WPFToolkit在 Microsoft 公共许可证 (Ms-PL) 下,版权所有 © Microsoft公司 •WPF 的 RadControls 部分 © 2010-2011 Telerik公司.版权所有.•zlib 和 libpng 下使用zlib/libpnc 许可证 (http://opensource.org/licenses/Zlib)

警告:此计算机程序受版权法和国际条约.未经授权的复制或分发该计划或其任何部分可能会导致严重的民事和刑事处罚,并会受到最大程度的起诉根据法律可能.

PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio扩展以可视化来自 PreEmptive 的汇总摘要分析产品.

SQL Server 数据工具 14.0.60519.0 Microsoft SQL Server 数据工具

TypeScript 1.8.36.0 Visual Studio 的 TypeScript 工具

适用于通用 Windows 应用程序的 Visual Studio 工具 14.0.25527.01通用 Windows 应用程序的 Visual Studio 工具允许您构建一个单一的通用应用程序体验,可以覆盖每台正在运行的设备Windows 10:手机、平板电脑、PC 等.它包括微软Windows 10 软件开发工具包.

来自 dxdiag 的系统信息:

<块引用>

------------------- 系统信息

 本报告时间:2016/9/4,22:15:11机器名称:REMOVED机器 ID:未知操作系统:Windows 10 Pro Insider Preview 64 位 (10.0, Build 14915) (14915.rs_prerelease.160826-1902)语言:英语(区域设置:英语)系统制造商:LENOVO系统型号:20378BIOS: 9ECN31WW(V1.14)处理器:Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz(8 个 CPU),~2.5GHz内存:16384MB 内存可用操作系统内存:16296MB RAM页面文件:已用 6018MB,可用 13221MBWindows 目录:C:\WINDOWSDirectX 版本:DirectX 12DX 设置参数:未找到用户 DPI 设置:使用系统 DPI系统 DPI 设置:240 DPI(250%)DWM DPI 缩放:未知Miracast:可用,带有 HDCP Microsoft 图形混合:支持DxDiag 版本:10.00.14915.1000 32 位 Unicode

解决方案

似乎是符号服务器的问题.很多人都有atm的问题.

来源:https://social.msdn.microsoft.com/Forums/en-US/35a31403-24f5-4552-8e3c-4c65f2b98c17/microsoft-symbol-server-is-slowbroken?forum=windbg

此外,如果您在 Twitter 上搜索符号服务器",您会发现这显然是一个已知问题,而且最近几天您并不是唯一一个必须处理此问题的人...

Today I've run into a problem where any program I try to debug in VS2015 takes an age to load all the pdb's for my program and other programs (in the order of 20 minutes or more for a simple dx12 sample). I could skip them but actually I really want them loaded for various reasons.

This isn't a problem with the solution or project as I get the issue debugging standard microsoft samples ie the dx12 samples hosted on github. I believe all my settings are correct for the symbols settings, here's my settings:

I've also already tried emptying my symbols cache and loading them all again. This takes an age too! My symbols cache is on an SSD which looks to be working fine. My internet connection is fine 19ms ping, 45Mb down, 18.7Mb up.

One unexpected thing is that the messages say the symbols can't be found:

'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\D3DCompiler_47.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file. 'D3D12Fullscreen.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Cannot find or open the PDB file.

(that just took 10 mins to get that far btw). That is really strange as you can see they are all standard dll's.

Any help would be greatly appreciated.

Many thanks in advance.

I'm using this version of VS2015:

Microsoft Visual Studio Enterprise 2015 Version 14.0.25425.01 Update 3 Microsoft .NET Framework Version 4.6.02001

Installed Version: Enterprise

Architecture and Modeling Tools 00322-90150-00888-AA088 Microsoft Architecture and Modeling Tools UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015 00322-90150-00888-AA088 Microsoft Visual Basic 2015

Visual C# 2015 00322-90150-00888-AA088 Microsoft Visual C# 2015

Visual C++ 2015 00322-90150-00888-AA088 Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU 00322-90150-00888-AA088 Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package 7.5.00830.1 Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11107.0 ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0 For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.2.40314.0 For additional information, visit http://www.asp.net/

Common Azure Tools 1.8 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service 2.0 JavaScript Language Service

JavaScript Project System 2.0 JavaScript Project System

Microsoft Azure Mobile Services Tools 1.4 Microsoft Azure Mobile Services Tools

NuGet Package Manager 3.4.4 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

NVIDIA Nsight Visual Studio Edition 5.0.0.15294 NVIDIA Nsight Visual Studio Edition provides tools for GPGPU and graphics development. Copyright © NVIDIA 2010 - 2015. •Direct3D® and DirectX® are registered trademarks of Microsoft Corporation in the United States and/or other countries. •Microsoft Detours is used under the Professional license (http://research.microsoft.com/en-us/projects/detours/). •Gardens Point Parser Generator Copyright 2005 Queensland University of Technology (QUT). All rights reserved. •NLog Copyright © 2004-2006 Jaroslaw Kowalski (jaak@jkowalski.net) •IronPython and WPFToolkit used under Microsoft Public License (Ms-PL) and are Copyright © Microsoft Corporation •Portions of RadControls for WPF © 2010-2011 by Telerik Corporation. All rights reserved. •zlib and libpng used under the zlib/libpnc license (http://opensource.org/licenses/Zlib)

Warning: This computer program is protected by copyright law and international treaties. Unauthorized reproduction or distribution of this program, or any portion of it, may result in severe civil and criminal penalties, and will be prosecuted to the maximum extent possible under the law.

PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 14.0.60519.0 Microsoft SQL Server Data Tools

TypeScript 1.8.36.0 TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps 14.0.25527.01 The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

System info from dxdiag:

------------------ System Information

  Time of this report: 9/4/2016, 22:15:11
         Machine name: REMOVED
           Machine Id: Unknown
     Operating System: Windows 10 Pro Insider Preview 64-bit (10.0, Build 14915) (14915.rs_prerelease.160826-1902)
             Language: English (Regional Setting: English)
  System Manufacturer: LENOVO
         System Model: 20378
                 BIOS: 9ECN31WW(V1.14)
            Processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 CPUs), ~2.5GHz
               Memory: 16384MB RAM
  Available OS Memory: 16296MB RAM
            Page File: 6018MB used, 13221MB available
          Windows Dir: C:\WINDOWS
      DirectX Version: DirectX 12
  DX Setup Parameters: Not found
     User DPI Setting: Using System DPI
   System DPI Setting: 240 DPI (250 percent)
      DWM DPI Scaling: UnKnown
             Miracast: Available, with HDCP Microsoft Graphics Hybrid: Supported
       DxDiag Version: 10.00.14915.1000 32bit Unicode

解决方案

Seems to be an issue with the symbol server. Alot of people are having the issue atm.

Source: https://social.msdn.microsoft.com/Forums/en-US/35a31403-24f5-4552-8e3c-4c65f2b98c17/microsoft-symbol-server-is-slowbroken?forum=windbg

Also if you search "symbol server" on twitter you will see that this is apperently a known issue and that you are not the only one having to deal with this in recent days...

这篇关于VS2015 加载符号真的很慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆