With the big announcement today, everyone’s looking at the Framework sources like mad. Make sure you read everything in Shawn Burke’s blog entry before you start. I thought I’d mention a couple of additional hints to help you out.
Hope that helps you out!
[Edit 2/14/08 – Changed symbol path in Step 4 as I pasted it in wrong.]
Microsoft Azure and Amazon Web Services (AWS) are two of the most popular cloud platforms.…
Cloud management is difficult to do manually, especially if you work with multiple cloud…
Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…
https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…
FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…
Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…
View Comments
The long awaited release of the .NET Framework Library source code for debugging purposes has arrived
Hi John,
I developed a tool which allows the download of the framework source code without VS2008.
It also enables me to debug the framework source code under VS2005.
I want to release the source code and the tool himself under LGPL.
What is the legal status on the Microsoft side for such a tool?
As far as i see from the licence, there is no such a term that disallows this.
I have succedded in mass downloading the source files.
Contact me for details, so we can publish it together if you want.
I am now in contact with Shawn Burke about the details.
I have the downloaded source code tool, i am just waiting approval for microsoft, please contact me so i can share the mass downloading details with you.
I am a big fan of your book Debugging Microsoft® .NET 2.0 Applications, so i will for sure share the source code for mass download with you :)
Hi John,
when I try to use SRV*c:symbolsOSSymbols*http://referencesource.microsoft.com/symbols*http://msdl.microsoft.com, Visual Studio does not download the symbols at all.
Instead when I run WinDbg, I get this error for symbols loading:
SYMSRV: http://referencesource.microsoft.com/symbols is followed by http://msdl.microsoft.com/download/symbols.
SYMSRV: Any HTTP store must be the last store in the list.
When I remove http://msdl.microsoft.com/download/symbols I am able to dowload .NET Framework source files, but then the rest of the symbols does not work.
How can I enable both scenarios to work in Visual Studio 2008?
How can one debug .NET source files in WinDbg?
Thanks!
Martin Kulov
I think the syntax for your _NT_SYMBOL_PATH is incorrect:
SRV*c:symbolsOSSymbols*http://referencesource.microsoft.com/symbols*http://msdl.microsoft.com/download/symbols
Should be
SRV*c:symbolsOSSymbols*http://referencesource.microsoft.com/symbols;SRV*C:http://msdl.microsoft.com/download/symbols
Christopher,
works like a charm!
Thanks,
It is not working on my Vista developing machine: I can get the symbols and load them, but I cannot step into the source code (it keeps saying it's not available).
It all works well on a WIndows XP machine.
I'm having the same issue as Alessandro.
It seems that, on my Vista machine, the (target)directory where the sources are being put, is not created if it does n't exist.
on XP, there are no problems.
It is impossible for me to create the target-directory myself in advance, because I do not know what the target-directory will be.
All,
Honestly, I've found the .NET Reference Source stepping to be kind of flaky. To me it feels like the servers hosting the source go up and down all the time.
I've had some of the same problems you all are mentioning and I don't know how to fix them either. Actually, I do, I use .NET Reflector Pro and that gives me everything without a hassle. Of course, it's commercial so you have to pay for it, but it's worth it.
- John Robbins