积极答复者
VS2019 调试 .net Framework4.7.2 无法下载到pdb

问题
-
已经下载了源码,而且按照官方指导进行设置. 但是pdb文件一直无法加载. 可以不通过Microsoft符号服务器, 自己下载pdb文件吗?
- 已移动 Jack J JunMicrosoft contingent staff 2020年8月24日 7:22 related to visual studio
答案
-
Hi xcosy,
"加载所有符号"按钮是要在调试的过程中才可以使用的。你可以尝试在启动工程后,先设置指定的路径用来保存pdb缓存文件,再点击“加载所有符号”。
如果加载不能成功,你可以尝试创建一个新的Microsoft Symbol Server。服务器网址是:https://msdl.microsoft.com/download/symbols.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
- 已标记为答案 xcosy 2020年8月26日 7:34
-
Hi xcosy,
谢谢你的反馈。
这种情况是你的网络受到了限制,导致VS不能正常访问服务器。你可能需要使用VPN(或代理器),也可以询问一下你们的网络管理员。
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
- 已编辑 Dylan Zhu-MSFTMicrosoft contingent staff 2020年8月26日 6:43
- 已标记为答案 xcosy 2020年8月26日 7:34
全部回复
-
Hi xcosy,
你能详细的描述下你的问题吗,你是怎么产生“无法下载到pdb"这个错误的。
>>已经下载了源码,而且按照官方指导进行设置
你能给出官方指导的链接吗,以便我知道你正在做什么。
期待您的更新。
Best Regards,
Jack
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- 已编辑 Jack J JunMicrosoft contingent staff 2020年8月24日 6:16
-
感谢您回复
https://docs.microsoft.com/zh-cn/visualstudio/debugger/how-to-debug-dotnet-framework-source?view=vs-2019
(抱歉,当前账号不能上传图片和链接)
按照这个设置
工具->调试->常规-> 启用.NET Framework源代码单步执行
工具->调试->符号 Microsoft符号服务器
但是此时不能点击加载所有符号,因为按钮是灰色的不可点击.
启动工程,在模块窗口点击加载某一个dll对应的pdb,则显示远程服务器上加载,但最终没有加载到,弹出窗口 需要从本地文件中指定符号文件
-
Hi xcosy,
由于您的问题与visual-studio本身更相关,我将这个case移到了visual-studio相关讨论论坛以便于你能得到更好的支持。
Best Regards,
Jack
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com. -
Hi xcosy,
"加载所有符号"按钮是要在调试的过程中才可以使用的。你可以尝试在启动工程后,先设置指定的路径用来保存pdb缓存文件,再点击“加载所有符号”。
如果加载不能成功,你可以尝试创建一个新的Microsoft Symbol Server。服务器网址是:https://msdl.microsoft.com/download/symbols.
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
- 已标记为答案 xcosy 2020年8月26日 7:34
-
Hi xcosy,
谢谢你的反馈。
这种情况是你的网络受到了限制,导致VS不能正常访问服务器。你可能需要使用VPN(或代理器),也可以询问一下你们的网络管理员。
Best Regards,
Dylan
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com
- 已编辑 Dylan Zhu-MSFTMicrosoft contingent staff 2020年8月26日 6:43
- 已标记为答案 xcosy 2020年8月26日 7:34