Search code examples
asp.net-mvcvisual-studio-debugging

How to debug System.Web.dll?


I want to see what happens inside System.Web.dll in ASP.NET MVC Application.

I have VS 2017 and ASP.NET MVC Application. I loaded debug symbols for System.Web.dll. After that call stack changed color from grey to black. But if trying click on any line in call stack for System.Web.dll, source code is not appearing and instead this is shown the message: Source information is missing from the debug information for this module (screenshot)

I am want seeing and debugging code of System.Web.dll. Could anyone help me with it? Thanks!


Solution

  • Thanks to Lance Li-MSFT I solved problem!

    By link that you gave, first step says "Ensure https://referencesource.microsoft.com/ contains the exact version you're debugging". In my application was used version 4.6.1, but referencesource.microsoft.com references on version 4.8.

    After I installed version 4.8 everything worked out!

    Thanks to all for help!