进入.NET Source仍然无法正常工作 [英] Stepping into .NET Source Still Doesn't Work

查看:119
本文介绍了进入.NET Source仍然无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很尴尬-尽管

This is embarrassing -- I've been programming .NET for many years and despite following the MSDN instructions for debugging the .NET sources, I've never been able to get it to work.

当我尝试进入某些框架代码(例如StringBuilder的c'tor)时,调试器只是跳过,跳至下一条语句.我无法进入任何框架代码.

When I attempt to step into some Framework code (the c'tor for StringBuilder, for example), the debugger just skips right over, onto the next statement. I can't step into any framework code.

我正在使用VS 2017,Framework v4.7.

I'm using VS 2017, Framework v4.7.

下面是调试选项.

推荐答案

转到符号"并添加此URL http://referencesource.microsoft.com/symbols 和本地缓存路径.

Go to Symbols and add this URL http://referencesource.microsoft.com/symbols and a local cache path.

请参阅:

其他社区成员在此处询问有关调试.NET 4.6的类似问题:

Other community members asked the simliar issue about debugging the .NET 4.6 here:

如何在Visual Studio 2017中调试.NET 4.6框架源代码?

更新:

从旧VS版本到VS2017,确实存在此问题,因为我们现在可以重现此问题,如果可能的话(如Leo的建议),您可以在此处投票并添加评论:

It really has this issue from old VS version to VS2017, anyway, since we could repro this issue now, if possible, like Leo's suggestion, you could vote and add your comment here:

https://developercommunity.visualstudio.com/content/problem/101533/could-not-debug-net-framework-on-windws-10-machine.html

这篇关于进入.NET Source仍然无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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