Stepping into .NET Source Still Doesn't Work

情到浓时终转凉″ 提交于 2019-12-08 04:23:43

问题


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.

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.

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

Below are the debugging options.




回答1:


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

Please see:

https://blogs.msdn.microsoft.com/sburke/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code/

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

How do I debug .NET 4.6 framework source code in Visual Studio 2017?

Update:

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



来源:https://stackoverflow.com/questions/45828032/stepping-into-net-source-still-doesnt-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!