gpt4 book ai didi

visual-studio-2008 - VS2008 调试器挂起

转载 作者:行者123 更新时间:2023-12-04 05:52:42 26 4
gpt4 key购买 nike

我正在使用带有 SP1 的 Visual Studio 2008 Team System,并且我注意到每当我停止调试应用程序时,IDE 都会挂起几 (10-15) 秒的烦人趋势。起初我以为这只发生在 WPF 应用程序中,但我也观察到了 Windows 窗体应用程序和 ASP.NET 站点中的行为。我根据 this previous post 对选项进行了一系列更改并进行了详尽的 Google/MSDN 搜索,但仍未找到阻止这种情况的方法。

谁有想法?

@ korona - 不,这并没有解决它。不过还是谢谢你的建议。

ProcMon 中的更多研究显示了这个有趣的花絮,不确定它是否相关:

8:45:46.6790857 AM  WindowsFormsApplication1.vshost.exe 7684    FASTIO_CHECK_IF_POSSIBLE    C:\WINXP\Microsoft.NET\Framework\v2.0.50727\CONFIG\enterprisesec.config.cch FAST IO DISALLOWED  Operation: Read, Offset: 48, Length: 12
8:45:46.6793569 AM WindowsFormsApplication1.vshost.exe 7684 ReadFile C:\WINXP\Microsoft.NET\Framework\v2.0.50727\CONFIG\enterprisesec.config.cch FAST IO DISALLOWED Offset: 508, Length: 12

这会重复几次,比如数百次,然后切换到不同的路径:
8:45:46.7470314 AM  WindowsFormsApplication1.vshost.exe 7684    FASTIO_CHECK_IF_POSSIBLE    D:\documents and settings\myusername\Application Data\Microsoft\CLR Security Config\v2.0.50727.42\security.config.cch   FAST IO DISALLOWED  Operation: Read, Offset: 48, Length: 12
8:45:46.7472187 AM WindowsFormsApplication1.vshost.exe 7684 ReadFile D:\documents and settings\myusername\Application Data\Microsoft\CLR Security Config\v2.0.50727.42\security.config.cch FAST IO DISALLOWED Offset: 508, Length: 12

并再次重复多次,每次迭代的偏移量略有变化。也许无关,但是......

最佳答案

我在我的一台开发机器和 Visual Studio 2005 上观察到这种行为。问题是由 Visual Studio 试图访问一些不存在的网络共享引起的(我不记得确切原因)。你可以给 Process Monitor尝试以查看您的 Visual Studio 在完成调试并返回正常 View 时是否试图做一些愚蠢的事情。可能是因为您在某个工具栏或工具箱中有一些损坏的插件。

关于visual-studio-2008 - VS2008 调试器挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/198979/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com