gpt4 book ai didi

c# - 调试 asp.net mvc 应用程序时出现 "Source information is missing from the debug information for this module"

转载 作者:行者123 更新时间:2023-11-30 12:55:21 24 4
gpt4 key购买 nike

我很难调试 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 源代码。

  1. 请在这里下载 MVC 5.2.7 包: https://dotnet.myget.org/feed/aspnetwebstack-dev/package/nuget/Microsoft.AspNet.Mvc

  2. 在这里下载相应的源码(记得切换到正确的分支): https://github.com/aspnet/AspNetWebStack

  3. 根据symbol server设置你的符号服务器

  4. 在调试期间,确保 dll 已加载。

关于c# - 调试 asp.net mvc 应用程序时出现 "Source information is missing from the debug information for this module",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50018521/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com