web analytics

How to configure Visual Studio for debugging .NET framework

Options

codeling 1599 - 6654
@2016-12-06 11:50:18

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)

@2016-12-06 11:53:46

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

@2018-06-06 22:06:30

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

@2018-07-12 00:15:25

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

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com