How to configure Visual Studio for debugging .NET framework Options

codeling Posts: 1089 Points: 4569
Posted: Tuesday, December 6, 2016 11:50:18 AM

You can now step through .NET framework sources for .NET framework 4.5.1 and any associated patches and updates.

In order to configure Visual Studio 2013 or later, do the following in the Tools -> Options -> Debugging -> General menu:

  • Disable just my code
  • Disable step over properties and operators
  • Disable require source files to exactly match the original version
  • Enable .NET framework source stepping
  • Enable source server support

This is what you need to do:

Troubleshooting

  1. Validate that you are running .NET framework version 4.5.1 or higher.
  2. Validate that the list of assemblies that you are trying to debug are on the list of assemblies here.
    The list is the set of assemblies that we currently ship reference sources for.
  3. Validate that your Symbol path has no cached symbols.
  4. Find the dll that you want to debug and run the command dumpbin /headers (dll-Name)

codeling Posts: 1089 Points: 4569
Posted: Tuesday, December 6, 2016 11:53:46 AM

You can browse and search through the source code online at here.


codeling Posts: 1089 Points: 4569
Posted: Wednesday, June 6, 2018 10:06:30 PM

You can download the entire source code of .NET Framework as a .zip file at here


codeling Posts: 1089 Points: 4569
Posted: Thursday, July 12, 2018 12:15:25 AM

Search here to find the source code for .net framework 3.5 or before.

Users browsing this topic
Guest