简体   繁体   English

调试asp.net mvc应用程序时,“此模块的调试信息中缺少源信息”

[英]“Source information is missing from the debug information for this module” when debugging asp.net mvc application

I am having hard days of debugging ASP.NET MVC code.I ended up doing as described in this website .Debug symbols are loaded and working for all dlls but System.Web.MVC . 我正在努力调试ASP.NET MVC代码。我最终按照本网站的描述进行了操作.Debug符号被加载并且适用于除System.Web.MVC所有dll。 when i double click on any line in stacktrace window it show me the message Source information is missing from the debug information for this module .i use http://msdl.microsoft.com/download/symbols as symbol source.what am i missing?is my symbol server correct? 当我双击stacktrace窗口中的任何一行时,它会向我显示Source information is missing from the debug information for this module 。我使用http://msdl.microsoft.com/download/symbols作为符号源。我错过了什么?我的符号服务器是否正确?

I can successfully debug asp.net MVC 5.2.7 source code. 我可以成功调试asp.net MVC 5.2.7源代码。

  1. Please download MVC 5.2.7 package here: https://dotnet.myget.org/feed/aspnetwebstack-dev/package/nuget/Microsoft.AspNet.Mvc 请在此处下载MVC 5.2.7软件包: https//dotnet.myget.org/feed/aspnetwebstack-dev/package/nuget/Microsoft.AspNet.Mvc

  2. Download the corresponding source code here (remember to switch to the correct branch): https://github.com/aspnet/AspNetWebStack 在这里下载相应的源代码(记得切换到正确的分支): https//github.com/aspnet/AspNetWebStack

  3. Set up your symbol server according to symbol server 根据符号服务器设置符号服务器

  4. During debugging, make sure the dll is loaded. 在调试过程中,确保已加载dll。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM