How can I step into Microsoft's .NET framework source code?

前端 未结 2 361
生来不讨喜
生来不讨喜 2021-01-02 09:36

I\'d like to step into Microsoft\'s source code but cannot.

I followed the instructions at Configuring Visual Studio for Debugging. In particular, I disable

相关标签:
2条回答
  • 2021-01-02 09:53

    Not all parts of the .NET framework is available as reference source, but the parts that are (and steps for getting it up and running) is described in Shawn Burke's blog, Configuring Visual Studio to Debug .NET Framework Source Code.

    Update: Hmm. It is broken on my machine too although it used to work. Weird.

    0 讨论(0)
  • 2021-01-02 10:07

    As far as I have observed .NET framework stepping with the reference source works just fine with the guides you find everywhere. With VS SP1 you don't even have to add the path to the reference source server.

    But the problem are mismatched versions. The framework assemblies were updated with .NET 3.5 SP1, Vista SP2, Windows 7, ... but their reference source PDBs weren't made available. The corresponding reference source forum seems quite dead, too. I remember reading that it took them a bit longer to push out the initial symbols because they built an infrastructure that would allow them to push new versions quickly. Either that didn't really happen or they don't use it.

    0 讨论(0)
提交回复
热议问题