如何调试System.Web.dll? [英] How to debug System.Web.dll?

查看:74
本文介绍了如何调试System.Web.dll?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看看ASP.NET MVC应用程序中System.Web.dll内部发生了什么.

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

我有VS 2017和ASP.NET MVC应用程序.我为System.Web.dll加载了调试符号.之后,调用堆栈将颜色从灰色更改为黑色.但是,如果尝试单击调用堆栈中针对System.Web.dll的任何行,则不会出现源代码,而是显示以下消息:此模块的调试信息中缺少源信息(

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)

我想查看和调试System.Web.dll的代码.有人可以帮我吗?谢谢!

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

推荐答案

感谢 Lance Li-MSFT ,我解决了问题!

通过您提供的链接,第一步说确保 https://referencesource.microsoft.com/包含您要调试的确切版本".在我的应用程序中,使用的是4.6.1版本,但是referencesource.microsoft.com却引用了4.8版.

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.

安装4.8版后,一切都解决了!

After I installed version 4.8 everything worked out!

感谢大家的帮助!

这篇关于如何调试System.Web.dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆