我很难调试 ASP.NET MVC 代码。我最终按照本 website 中的描述进行操作.调试符号已加载并适用于所有 dll,但 System.Web.MVC
。当我双击 stacktrace
窗口中的任何一行时,它会显示消息 Source information is missing from the debug information for this module
。我使用 http://msdl.microsoft.com/download/symbols
作为符号源。我缺少什么?我的符号服务器是否正确?
最佳答案
我可以成功调试 asp.net MVC 5.2.7 源代码。
请在这里下载 MVC 5.2.7 包: https://dotnet.myget.org/feed/aspnetwebstack-dev/package/nuget/Microsoft.AspNet.Mvc
在这里下载相应的源码(记得切换到正确的分支): https://github.com/aspnet/AspNetWebStack
根据symbol server设置你的符号服务器
- 在调试期间,确保 dll 已加载。
关于c# - 调试 asp.net mvc 应用程序时出现 "Source information is missing from the debug information for this module",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50018521/