Configure Visual Studio 2013 for debugging .NET framework

https://referencesource.microsoft.com/

In order to configure Visual Studio 2013 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) 
      1. Send us the output shown in the screen capture above along with the file version of the dll.
原文地址:https://www.cnblogs.com/ecollab/p/6218135.html