如何通过此.NET BCL代码调试步骤



以下方法存在于dllSystem.Web.Security

Dll: System.Web.Security 
File:  CookielessHelper.cs
Method: 
// This function is called for all requests -- it must be performant.
//    In the common case (i.e. value not present in the URI, it must not
//    look at the headers collection
internal void RemoveCookielessValuesFromPath() 
{ ... }

我需要什么步骤才能在这个方法中设置断点,这样我才能弄清楚一些东西?

我还安装了ReSharper 7。

我试过一些方法,但不知道该怎么做。我得到的最接近的是逐步完成一些ASP.NET MVC代码,但不是一些更核心的东西,比如这样。

注:此问题与之前提出的SO问题有关/受其启发。

说明已移至Microsoft文档:

https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-debug-dotnet-framework-source?view=vs-2017年

Visual studio包含一个调试到框架中的工具。本文介绍了如何。

https://web.archive.org/web/20160219220557/http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx

最新更新