Microsoft 公共符号服务器Microsoft public symbol server

服务器状态: 服务器状态:MSDL 服务中断Server Status: Server Status: MSDL Service Disruption
符号服务器当前不可访问。Symbol server is currently not accessible. 团队正在积极调查并处理解决方法。The team is actively investigating and working on a resolution.
请向windbgfb@microsoft.com报告任何已知问题。Please report any known issues to

Microsoft 符号服务器使 Windows 调试器符号公开可用。The Microsoft symbol server makes Windows debugger symbols publicly available.

可以通过以下方式直接在符号路径中引用公共符号服务器:You can refer directly to the public symbol server in your symbol path in the following manner:

set _NT_SYMBOL_PATH=srv*DownstreamStore*

DownstreamStore必须指定将用于缓存符号的本地计算机或网络上的目录。DownstreamStore must specify a directory on your local computer or network that will be used to cache symbols. 此下游存储包含调试器已访问的符号;大多数从未访问过的符号将保留在 Microsoft 的符号存储区中。This downstream store holds symbols that the debugger has accessed; the vast majority of symbols that have never been accessed remain on the symbol store at Microsoft. 这会使下游存储相对较小, 并允许符号服务器快速工作, 仅下载每个文件一次。This keeps your downstream store relatively small and allows the symbol server to work quickly, only downloading each file once.

若要避免键入此长符号路径, 请使用 . symfix (Set 符号存储区路径) 命令。To avoid typing this long symbol path, use the .symfix (Set Symbol Store Path) command. 以下命令将公共符号存储区追加到现有符号路径:The following command appends the public symbol store to your existing symbol path:

.symfix+ C:\MySymbols

如果省略了本地符号缓存位置, 将使用调试器安装目录的符号子目录。If local symbol cache location is omitted, the sym subdirectory of the debugger installation directory will be used.

使用 " sympath (Set 符号存储路径) " 命令可显示完整的符号路径。Use the .sympath (Set Symbol Store Path) command to display the full symbol path. 此示例演示如何使用 symfix 创建本地符号缓存并使用 Microsoft http 符号服务器。This example shows how to use symfix to create a local symbol cache and use the Microsoft http symbol server.

0: kd> .symfix c:\MyCache
0: kd> .sympath
Symbol search path is: srv*
Expanded Symbol search path is: cache*c:\MyCache;SRV*

有关使用符号的详细信息, 请参阅Windows 调试器的符号路径For more information about working with symbols, see the Symbol path for Windows debuggers.

符号文件压缩Symbol File Compression

Microsoft 符号服务器提供了符号文件的压缩版本。The Microsoft Symbol Server provides compressed versions of the symbol files. 文件扩展名的末尾有一个下划线, 用于指示已对其进行压缩。The files have an underscore at the end of the filename’s extension to indicate that they are compressed. 例如, ntdll.dll 的 PDB 可用作 ntdll.dll_。For example, the PDB for ntdll.dll is available as ntdll.pd_. 当 SymProxy 下载压缩文件时, 它会将文件解压缩到本地文件系统中。When SymProxy downloads a compressed file, it will store the file decompressed in the local file system. DontUncompress 注册表项可设置为在 SymProxy 中禁用此行为。The DontUncompress registry key can be set to disable this behavior in SymProxy.

有关使用 SymStore/compress 存储在符号服务器上压缩的符号的信息, 请参阅调试器主题SymStoreRefer to the Debugger topic SymStore for information on using SymStore.exe /compress to store your own symbols compressed on your symbol server.