VS2008调试器挂起

时间:2008-10-13 20:47:25

标签: visual-studio-2008

我正在使用带有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

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

9 个答案:

答案 0 :(得分:2)

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

答案 1 :(得分:2)

查看你的ProcMon结果,似乎是CreateFile()调用那些一直在进行的调用。我假设所有活动都在等待该线程返回。您可以使用“属性”窗口中的“线程”选项卡,在Process Explorer(也是之前链接的SysInternals包的一部分)中验证这一点(有些困难)。

因此,如果CreateFile是造成阻塞的原因,那就表明它本身就是Windows的延迟。皮埃尔所说的 - 寻找网络股票 - 也是我的第一直觉。过去,当资源管理器映射到我目前无法达到的共享时,我有很多看似无法解释的速度减慢,即使我当时没有对这些股票做过任何工作。

您可以通过取消映射所有驱动器并从网络中拔出来测试这种可能性吗? D:与C:分开的物理驱动器吗?如果是这样,如果将构建目录移动到C:,请查看它是否更快。

答案 2 :(得分:1)

宾果!这与网络共享有关。我还不知道哪一个,但现在应该很容易弄清楚我知道在哪里看。我接受了你的建议,取消了我的网卡,断开了我的网络驱动器,并重新运行。没挂!非常感谢你。这将使生活更美好。

答案 3 :(得分:1)

从下面的网站我找到了几种可能的解决方案。

http://social.msdn.microsoft.com/Forums/en/vsdebug/thread/e9c5da47-a194-4051-a3d5-28b404263b3f

效果最好的是运行Internet Explorer 然后转到工具 - >互联网选项 - >高级标签 - >安全部分,取消选中“检查发布者证书撤销”

答案 4 :(得分:0)

即使使用基本应用,它是否会消失?就像制作一个新的窗体然后点击调试一样,还是只有更复杂的应用?因为我之前也注意到了(可能不是10-15秒,但是我已经注意到了一点延迟)但是当我尝试调试一个相对简单的Windows窗体应用时,我没有得到它根本就没有。

答案 5 :(得分:0)

好问题。我创建了一个非常简单的Windows窗体应用程序:

private void button1_Click(object sender, EventArgs e)
{
    MessageBox.Show("I am saying hello.");
}

关闭表格时仍然停留10秒钟。

答案 6 :(得分:0)

@ Pierre - 我在devenv.exe上运行了ProcMon,并关闭了应用程序。结果很有趣。它挂了15秒,你可以看到ProcMon中的挂起。从8:45:31到8:45:46,没有记录任何活动。我将在ProcMon中使用过滤器,看看它是否在devenv.exe之外,但这是我在devenv.exe周围15秒内记录的内容:

8:45:31.0221244 AM  devenv.exe  7096    QueryNameInformationFile    D:\Working\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe  BUFFER OVERFLOW Name: \W
8:45:31.0227991 AM  devenv.exe  7096    CreateFile  D:\Working\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.Manifest NAME NOT FOUND  Desired Access: Generic Read/Execute, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, AllocationSize: n/a
8:45:46.7647624 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E}  NAME NOT FOUND  Desired Access: Read
8:45:46.7647792 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E}   NAME NOT FOUND  Desired Access: Read
8:45:46.7649139 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E}  NAME NOT FOUND  Desired Access: Read
8:45:46.7649264 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{141243A4-76E6-4FC3-A114-EAE02389304E}   NAME NOT FOUND  Desired Access: Read
8:45:46.9834610 AM  devenv.exe  7096    RegQueryValue   HKCU\Software\Microsoft\VisualStudio\9.0\UseMRUDocOrdering  NAME NOT FOUND  Length: 144
8:45:46.9835087 AM  devenv.exe  7096    RegQueryValue   HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\UseMRUDocOrdering  NAME NOT FOUND  Length: 144
8:45:46.9865681 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveLeft  NAME NOT FOUND  Desired Access: Read
8:45:46.9865881 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveLeft   NAME NOT FOUND  Desired Access: Read
8:45:46.9866155 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveLeft  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9866285 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveLeft   NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9869661 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveRight NAME NOT FOUND  Desired Access: Read
8:45:46.9869813 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveRight  NAME NOT FOUND  Desired Access: Read
8:45:46.9870055 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveRight NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9870177 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveRight  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9872667 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveUp    NAME NOT FOUND  Desired Access: Read
8:45:46.9872818 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveUp NAME NOT FOUND  Desired Access: Read
8:45:46.9873078 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveUp    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9873207 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveUp NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9875683 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveDown  NAME NOT FOUND  Desired Access: Read
8:45:46.9875873 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveDown   NAME NOT FOUND  Desired Access: Read
8:45:46.9876141 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\ReSharper.ReSharper_MoveDown  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9876276 AM  devenv.exe  7096    RegOpenKey  HKCR\ReSharper.ReSharper_MoveDown   NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9912375 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\TreatAs  NAME NOT FOUND  Desired Access: Query Value
8:45:46.9912529 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\TreatAs   NAME NOT FOUND  Desired Access: Query Value
8:45:46.9914799 AM  devenv.exe  7096    RegOpenKey  HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860   NAME NOT FOUND  Desired Access: Read
8:45:46.9915751 AM  devenv.exe  7096    RegOpenKey  HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860   NAME NOT FOUND  Desired Access: Read
8:45:46.9916485 AM  devenv.exe  7096    RegEnumValue    HKCU\Software\Microsoft\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NO MORE ENTRIES Index: 1, Length: 220
8:45:46.9916921 AM  devenv.exe  7096    RegQueryValue   HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy\AppMgmt\{B72DC9F7-717F-48A3-A281-F5187E018006}  NAME NOT FOUND  Length: 144
8:45:46.9917220 AM  devenv.exe  7096    RegOpenKey  HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860   NAME NOT FOUND  Desired Access: Read
8:45:46.9918086 AM  devenv.exe  7096    RegOpenKey  HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-21-2966119792-2635991036-4117835597-414090\Installer\Features\7F9CD27BF7173A842A185F81E7100860   NAME NOT FOUND  Desired Access: Read
8:45:46.9918661 AM  devenv.exe  7096    RegEnumValue    HKCU\Software\Microsoft\Installer\Features\7F9CD27BF7173A842A185F81E7100860 NO MORE ENTRIES Index: 1, Length: 220
8:45:46.9919019 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9919204 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32 NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9919447 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandler32  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9919595 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandler32   NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9919825 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandlerX86 NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9919969 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\InprocHandlerX86  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9920191 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9920322 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer32 NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9920543 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9920677 AM  devenv.exe  7096    RegOpenKey  HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\LocalServer   NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9921310 AM  devenv.exe  7096    RegQueryValue   HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\AppID    NAME NOT FOUND  Length: 144
8:45:46.9921387 AM  devenv.exe  7096    RegQueryValue   HKCR\CLSID\{00020424-0000-0000-C000-000000000046}\AppID NAME NOT FOUND  Length: 144
8:45:46.9921910 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\ProxyStubClsid32 NAME NOT FOUND  Desired Access: Query Value
8:45:46.9922398 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\ProxyStubClsid32 NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9922774 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\ProxyStubClsid32 NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9923306 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\Forward  NAME NOT FOUND  Desired Access: Query Value
8:45:46.9923447 AM  devenv.exe  7096    RegOpenKey  HKCR\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\Forward   NAME NOT FOUND  Desired Access: Query Value
8:45:46.9923676 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9924159 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9924549 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9924925 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9925301 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\Interface\{A6FAF38C-284B-48B3-B871-84B9A66010E9}\TypeLib  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9925761 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9926243 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9926490 AM  devenv.exe  7096    RegEnumKey  HKCR\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A} NO MORE ENTRIES Index: 1, Length: 288
8:45:46.9926676 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9927153 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9927525 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0  NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9928018 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9928530 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9928710 AM  devenv.exe  7096    RegQueryValue   HKCR\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32\(Default)   BUFFER OVERFLOW Length: 144
8:45:46.9928986 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32    NAME NOT FOUND  Desired Access: Maximum Allowed
8:45:46.9929159 AM  devenv.exe  7096    RegQueryValue   HKCR\TypeLib\{95FF4B0C-E6EC-470C-82AC-EB0471714C5A}\1.0\0\win32\(Default)   BUFFER OVERFLOW Length: 144
8:45:46.9936201 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 224, Length: 4
8:45:46.9936267 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 224, Length: 4
8:45:46.9938304 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 228, Length: 20
8:45:46.9938360 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 228, Length: 20
8:45:46.9939826 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 472, Length: 40
8:45:46.9939877 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 472, Length: 40
8:45:46.9941335 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 512, Length: 40
8:45:46.9941384 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 512, Length: 40
8:45:46.9943155 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 552, Length: 40
8:45:46.9943207 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 552, Length: 40
8:45:46.9944710 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,072, Length: 16
8:45:46.9944762 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,072, Length: 16
8:45:46.9947328 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,088, Length: 8
8:45:46.9947380 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,088, Length: 8
8:45:46.9948846 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,232, Length: 2
8:45:46.9948895 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,232, Length: 2
8:45:46.9954480 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,234, Length: 14
8:45:46.9954536 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,234, Length: 14
8:45:46.9956052 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,104, Length: 16
8:45:46.9956103 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,104, Length: 16
8:45:46.9957616 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,120, Length: 8
8:45:46.9957666 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,120, Length: 8
8:45:46.9959108 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,152, Length: 16
8:45:46.9959158 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,152, Length: 16
8:45:46.9961043 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,168, Length: 8
8:45:46.9961095 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,168, Length: 8
8:45:46.9962559 AM  devenv.exe  7096    ReadFile    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Offset: 3,200, Length: 16
8:45:46.9962612 AM  devenv.exe  7096    FASTIO_CHECK_IF_POSSIBLE    C:\Program Files\Common Files\Microsoft Shared\MSENV\vsprojhostproc.olb FAST IO DISALLOWED  Operation: Read, Offset: 3,200, Length: 16
8:45:47.0162060 AM  devenv.exe  7096    RegOpenKey  HKCU\Software\Classes\CLSID\{00020424-0000-0000-C000-000000000046}\TreatAs  NAME NOT FOUND  Desired Access: Query Value

感谢您的帮助。

答案 7 :(得分:0)

我不是100%肯定这是同样的问题,但我在调试过程中有类似的VC ++行为。这主要是在遇到崩溃的程序时发生的,所以我再次确定它是否是同一个问题,但它可能值得一试。

原因: 调试过程在文本服务框架用于呈现文本的互斥锁上获取锁定时死亡。当其他应用程序尝试呈现任何文本时,它们最终会死锁,直到调试过程终止。

修复: 通过打开“控制面板”,“区域和语言选项”,“语言”,“详细信息...”,“高级”并选中“关闭高级文本服务”框,关闭高级文本服务。

很抱歉,如果这与您的问题无关,但它确实帮助我调试器正在运行并锁定我的系统。

更多信息:http://www.virtualdub.org/blog/pivot/entry.php?id=118

答案 8 :(得分:0)

很好,就像我的情况那样。您是否能够找到Visual Studio尝试访问的网络共享。您可能需要尝试wireshark进一步调查。您将看到您的PC正在产生什么流量......