A rather strange question I know... I was previously using the .NET framework source stepping option (tools>options>debugging>general) within Visual Studio 2008.
我知道一个相当奇怪的问题...我以前在Visual Studio 2008中使用.NET框架源步进选项(工具>选项>调试>常规)。
Now although I have the option turned off, everytime I pause the debugger I start stepping into code I get taken into the .NET framework which takes an age to step back out of as by that point a lot of symbols have been loaded.
现在虽然我已关闭该选项,但每次我暂停调试器时,我都会开始使用代码进入.NET框架,这需要一段时间才能退出,因为到那时已经加载了很多符号。
Has anyone else had this problem, and does anyone know how to turn it off?
有没有其他人有这个问题,有谁知道如何关闭它?
2 个解决方案
#1
Try selecting Enable Just My Code (Managed Only) in the same options menu (ie. Tools -> Options -> Debugging -> General).
尝试在相同的选项菜单中选择Enable Just My Code(仅管理)(即工具 - >选项 - >调试 - >常规)。
This option gets disabled when you enable .Net Framework source stepping.
启用.Net Framework源步进时,此选项将被禁用。
#2
It sounds like you are debugging the source code from .NET which downloads the appropriate PDB's and source from the web. See this URL for an example:
听起来您正在调试.NET中的源代码,该代码从Web下载相应的PDB和源代码。有关示例,请参阅此URL:
You probably just need to reverse what ScottGu did to turn it on.
您可能只需要反转ScottGu所做的事情就可以开启它。
#1
Try selecting Enable Just My Code (Managed Only) in the same options menu (ie. Tools -> Options -> Debugging -> General).
尝试在相同的选项菜单中选择Enable Just My Code(仅管理)(即工具 - >选项 - >调试 - >常规)。
This option gets disabled when you enable .Net Framework source stepping.
启用.Net Framework源步进时,此选项将被禁用。
#2
It sounds like you are debugging the source code from .NET which downloads the appropriate PDB's and source from the web. See this URL for an example:
听起来您正在调试.NET中的源代码,该代码从Web下载相应的PDB和源代码。有关示例,请参阅此URL:
You probably just need to reverse what ScottGu did to turn it on.
您可能只需要反转ScottGu所做的事情就可以开启它。