“无源可用” - Visual Studio调试(即使加载符号) [英] "No Source Available" - Visual Studio Debugging (even when symbols have loaded)

查看:691
本文介绍了“无源可用” - Visual Studio调试(即使加载符号)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了 Visual Studio  2012 专业版来下载调试符号。它正确设置,符号已经下载。

I have set up Visual Studio 2012 Professional to download debug symbols. It is set up correctly and the symbols have downloaded.

我得到了我希望介绍的代码行:

I get to the line of code I wish to step into:

bool result = Membership.ValidateUser("user", "password");

我右键单击并选择步入特定 - >成员资格.ValidateUser()

然后在Visual Studio中打开一个标签:

Then a tab opens in Visual Studio saying:


无可用资源 - 目前没有可用的源代码

No Source Available - There is no source code available for the current location

Membership.ValidateUser()位于 System.Web.Security 命名空间,它位于 System.Web.dll 。如果我打开了模块窗口,我可以清楚地看到这个程序集的符号已经下载。

Membership.ValidateUser() is in the System.Web.Security namespace which is in the System.Web.dll. If I open up the Modules window I can clearly see that the symbols for this assembly have been downloaded.

如果符号在那里,为什么我不能进入源代码?

If the symbols are there, why am I not able to step into the source code?

推荐答案

源代码步进仅适用于RTM或SP版本。请参阅 PDB文件.NET Framework 3.5 SP1不可用! (即System.Web.pdb 2.0.50727.4016)

Source stepping is only available for RTM or SP releases. See PDB files for .NET Framework 3.5 SP1 not available! (i.e. System.Web.pdb 2.0.50727.4016).

这篇关于“无源可用” - Visual Studio调试(即使加载符号)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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