尝试了这两个,但它们不起作用:
http://blogs.msdn.com/b/dotnet/archive/2014/02/24/a-new-look-for-net-reference-source.aspx
http://referencesource.microsoft.com/
//编辑
其他一些信息
1,代码:
class Program
{
static void Main(string[] args)
{
List<string> s = new List<string>() {"1", "2", "3"};
s.Sort();
}
}
2,dumpbin / headers:
调试目录
Time Type Size RVA Pointer
-------- ------- -------- -------- --------
570C5040 cv 25 004B34F0 4B16F0 Format: RSDS, {F0736C7E-9384-4F56-B409-82538DE2D731}, 2, mscorlib.pdb
3,模块窗口:
mscorlib.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_32 \ mscorlib \ v4.0_4.0.0.0__b77a5c561934e089 \ mscorlib.dll是N / A符号已加载。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ mscorlib.pdb \ f0736c7e93844f56b40982538de2d7312 \ mscorlib.pdb 1 4.6.1080.0 build by:NETFXREL3STAGE 2016/4/12 9:32 728E0000-73A29000 [9384] ConsoleApplication1.vshost。 exe [1] ConsoleApplication1.vshost.exe
Microsoft.VisualStudio.HostingProcess.Utilities.dll C:\ Windows \ assembly \ GAC_MSIL \ Microsoft.VisualStudio.HostingProcess.Utilities \ 14.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.HostingProcess.Utilities.dll是N / A无法找到或打开PDB文件。 2 14.00.23107.0 2015/7/7 15:24 00CB0000-00CBE000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.Windows.Forms.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Windows.Forms \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Windows.Forms.dll是N / A已加载符号。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ System.Windows.Forms.pdb \ eb5cb7959d814f46a194daf569c175ff1 \ System.Windows.Forms.pdb 3 4.6.1038.0 build by:NETFXREL2 2015/10/8 9:11 5D560000- 5E1BA000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System \ v4.0_4.0.0.0__b77a5c561934e089 \ System.dll是N / A无法找到或打开PDB文件。 4 4.6.1081.0建立者:NETFXREL3STAGE 2016/4/19 5:29 71730000-720B8000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.Drawing.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Drawing \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ System.Drawing.dll是N / A无法找到或打开PDB文件。 5 4.6.1078.0建立者:NETFXREL3STAGE 2016/3/11 6:19 6E6C0000-6E84F000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll C:\ Windows \ assembly \ GAC_MSIL \ Microsoft.VisualStudio.HostingProcess.Utilities.Sync \ 14.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll是N / A无法找到或打开PDB文件。 6 14.00.23107.0 2015/7/7 15:24 00FA0000-00FAC000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
Microsoft.VisualStudio.Debugger.Runtime.dll C:\ Windows \ assembly \ GAC_MSIL \ Microsoft.VisualStudio.Debugger.Runtime \ 14.0.0.0__b03f5f7f11d50a3a \ Microsoft.VisualStudio.Debugger.Runtime.dll是N / A符号未加载。 7 14.00.23107.0 2015/7/7 15:24 01010000-0101A000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
ConsoleApplication1.vshost.exe C:\ Users \ HaoPeng \ documents \ visual studio 2015 \ Projects \ ConsoleApplication1 \ ConsoleApplication1 \ bin \ Debug \ ConsoleApplication1.vshost.exe是N / A无法找到或打开PDB文件。 8 14.00.23107.0 2015/7/7 14:58 00BF0000-00BF8000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.Core.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Core \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Core.dll是N / A已加载符号。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ MicrosoftPublicSymbols \ System.Core.pdb \ 5005a16d6f1d4f578a8a839f7ec4e7342 \ System.Core.pdb 9 4.6.1038.0 build by:NETFXREL2 2015/10/8 9:11 69680000-69DA9000 [ 9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.Xml.Linq.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Xml.Linq \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Xml.Linq.dll是N / A符号已加载。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ MicrosoftPublicSymbols \ System.Xml.Linq.pdb \ b5b962082bfa460e9fce41fdc43a7a022 \ System.Xml.Linq.pdb 10 4.6.1038.0 build by:NETFXREL2 2015/10/8 9:11 59CE0000-59D42000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.Data.DataSetExtensions.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Data.DataSetExtensions \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Data.DataSetExtensions.dll是N / A符号已加载。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ MicrosoftPublicSymbols \ System.Data.DataSetExtensions.pdb \ ff8bd93350db450fb43f156c22d475e51 \ System.Data.DataSetExtensions.pdb 11 4.6.1038.0 build by:NETFXREL2 2015/10/8 9:10 05120000-05132000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
Microsoft.CSharp.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ Microsoft.CSharp \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ Microsoft.CSharp.dll是N / A已加载符号。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ MicrosoftPublicSymbols \ Microsoft.CSharp.pdb \ 609aad548a5f4b1bafb09a5ccd9e8aa32 \ Microsoft.CSharp.pdb 12 4.06.1038.0 2015/10/8 9:11 54F60000-550E4000 [9384] ConsoleApplication1。 vshost.exe [1] ConsoleApplication1.vshost.exe
System.Data.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_32 \ System.Data \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Data.dll是N / A已加载符号。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ System.Data.pdb \ ac876710b4974f1f984e433d02a293311 \ System.Data.pdb 13 4.6.1038.0 build by:NETFXREL2 2015/10/8 9:11 56340000-56ABD000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.Net.Http.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Net.Http \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ System.Net.Http.dll是N / A已加载符号。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ MicrosoftPublicSymbols \ System.Net.Http.pdb \ c43c636332fe4b53ad4e9f12dd1d68152 \ System.Net.Http.pdb 14 4.6.1038.0 build by:NETFXREL2 2015/10/8 9:10 668C0000-66941000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
System.Xml.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Xml \ v4.0_4.0.0.0__b77a5c561934e089 \ System.Xml.dll是N / A符号已加载。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ MicrosoftPublicSymbols \ System.Xml.pdb \ 7f2700207ca5443a83d10b6e05ed34722 \ System.Xml.pdb 15 4.6.1064.2 build by:NETFXREL3STAGE 2015/12/3 9:36 66E30000-6753C000 [ 9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
mscorlib.resources.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ mscorlib.resources \ v4.0_4.0.0.0_zh-Hans_b77a5c5619340089 \ mscorlib.resources.dll是N / A二进制文件未使用调试信息构建。 16 4.6.1038.0建立者:NETFXREL2 2015/10/8 12:05 05540000-05636000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
ConsoleApplication1.exe C:\ Users \ HaoPeng \ documents \ visual studio 2015 \ Projects \ ConsoleApplication1 \ ConsoleApplication1 \ bin \ Debug \ ConsoleApplication1.exe No N / A符号已加载。 C:\ Users \ HaoPeng \ Documents \ Visual Studio 2015 \ Projects \ ConsoleApplication1 \ ConsoleApplication1 \ bin \ Debug \ ConsoleApplication1.pdb 17 1.00.0.0 2016/5/21 11:19 04FF0000-04FF8000 [9384] ConsoleApplication1.vshost.exe [ 1] ConsoleApplication1.vshost.exe
System.Configuration.dll C:\ Windows \ Microsoft.Net \ assembly \ GAC_MSIL \ System.Configuration \ v4.0_4.0.0.0__b03f5f7f11d50a3a \ System.Configuration.dll是N / A已加载符号。 C:\ Users \ HaoPeng \ AppData \ Local \ Temp \ SymbolCache \ System.Configuration.pdb \ 870cb491dac3444aaa02db61d480a0e01 \ System.Configuration.pdb 18 4.6.1038.0 build by:NETFXREL2 2015/10/8 9:11 68720000-6880F000 [9384] ConsoleApplication1.vshost.exe [1] ConsoleApplication1.vshost.exe
4,符号加载信息:
C:\Users\HaoPeng\Documents\Visual Studio 2015\Projects\ConsoleApplication1\ConsoleApplication1\bin\Debug\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\symbols\dll\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\dll\mscorlib.pdb: Cannot find or open the PDB file.
C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\mscorlib.pdb\f0736c7e93844f56b40982538de2d7312\mscorlib.pdb: Symbols loaded.
// EDIT2
符号加载信息
C:\Users\HaoPeng\Documents\Visual Studio 2015\Projects\ConsoleApplication1\ConsoleApplication1\bin\Debug\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\symbols\dll\mscorlib.pdb: Cannot find or open the PDB file.
C:\Windows\dll\mscorlib.pdb: Cannot find or open the PDB file.
C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\mscorlib.pdb\f0736c7e93844f56b40982538de2d7312\mscorlib.pdb: Cannot find or open the PDB file.
C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\MicrosoftPublicSymbols\mscorlib.pdb\f0736c7e93844f56b40982538de2d7312\mscorlib.pdb: Cannot find or open the PDB file.
SYMSRV: C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\mscorlib.pdb\F0736C7E93844F56B40982538DE2D7312\mscorlib.pdb - file not found
*** ERROR: HTTP_STATUS_NOT_FOUND
*** ERROR: HTTP_STATUS_NOT_FOUND
*** ERROR: HTTP_STATUS_NOT_FOUND
SYMSRV: C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\mscorlib.pdb\F0736C7E93844F56B40982538DE2D7312\mscorlib.pdb not found
SYMSRV: http://referencesource.microsoft.com/symbols/mscorlib.pdb/F0736C7E93844F56B40982538DE2D7312/mscorlib.pdb not found
http://referencesource.microsoft.com/symbols: Symbols not found on symbol server.
SYMSRV: C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\mscorlib.pdb\F0736C7E93844F56B40982538DE2D7312\mscorlib.pdb - file not found
*** ERROR: HTTP_STATUS_NOT_FOUND
*** ERROR: HTTP_STATUS_NOT_FOUND
INFO: HTTP_STATUS_OK
SYMSRV: C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\mscorlib.pdb\F0736C7E93844F56B40982538DE2D7312\mscorlib.pdb - file not found
SYMSRV: mscorlib.pdb from https://msdl.microsoft.com/download/symbols: 133447 bytes
https://msdl.microsoft.com/download/symbols: Symbols downloaded from symbol server.
C:\Users\HaoPeng\AppData\Local\Temp\SymbolCache\mscorlib.pdb\F0736C7E93844F56B40982538DE2D7312\mscorlib.pdb: Symbols loaded.
答案 0 :(得分:0)
更新:看起来这是Microsoft服务器端的问题。
的符号尚未发布。我在内部确认,一旦团队响应就会在这里更新。
当您第一次从Microsoft Symbol Server加载公共符号(没有源代码映射)时,会发生这种情况,它们被缓存在SymbolsCache文件夹中,然后您关闭了公共符号服务器,但旧的符号仍然从缓存中获取
尝试删除此文件夹: C:\用户\豪鹏\应用程序数据\本地的\ Temp \ SymbolCache 然后再试一次。