This happens to me quite frequently...at least once every 1 or 2 weeks...and it is currently driving me insane.
这种情况经常发生在我身上......至少每1周或2周发生一次......而且它正在让我疯狂。
I can be working in VS2008 performing the most basic of tasks and the entire program will stop responding. After waiting quite a while the only option I find myself with is to open the Task Manager and end the devenv.exe process.
我可以在VS2008中执行最基本的任务,整个程序将停止响应。等待了一段时间后,我发现自己的唯一选择是打开任务管理器并结束devenv.exe进程。
Unfortunately, whenever I do this, explorer.exe stops responding too. The CPU usage hits 50% (since I'm on a dual core machine) and most of the applications I have running become inaccessible. If I terminate explorer.exe and then use the task manager to restart explorer.exe it always restarts with it using 100% of the core it is running on.
不幸的是,每当我这样做时,explorer.exe也会停止响应。 CPU使用率达到50%(因为我使用的是双核机器),而且我运行的大多数应用程序都无法访问。如果我终止explorer.exe,然后使用任务管理器重新启动explorer.exe,它总是使用100%正在运行的核心重新启动它。
No matter what I try to solve this problem, the only way I've been able to solve this problem is by restarting my machine.
无论我试图解决这个问题,我能够解决这个问题的唯一方法就是重新启动我的机器。
Now I can understand VS2008 crashing....it does tend to do that. But why does it have to take explorer.exe and the rest of my machine with it? Does anyone know why that is even possible? How can a failure in one process result in a cascade of failures in other programs?
现在我可以理解VS2008崩溃......它确实倾向于这样做。但为什么它必须使用explorer.exe和我的机器的其余部分?有谁知道为什么这是可能的?一个过程中的失败如何导致其他程序中的一连串失败?
Not sure if it makes a difference but I'm running WinXP Professional, VS2008 SP1, Resharper 4.5, PowerCommands for VS2008 1.0, GhostDoc, and TestDriven.NET 2.9.
不确定它是否有所作为,但我正在运行WinXP Professional,VS2008 SP1,Resharper 4.5,PowerCommands for VS2008 1.0,GhostDoc和TestDriven.NET 2.9。
1 个解决方案
#1
Try uninstalling / removing all addins to Visual Studio.
尝试卸载/删除Visual Studio中的所有插件。
Also, try running VS with either of these flags -
此外,尝试使用这些标志之一运行VS -
/ResetSkipPkgs or /SafeMode and see if the problem persists (info found at http://msdn.microsoft.com/en-us/library/xee0c8y7%28VS.80%29.aspx)
/ ResetSkipPkgs或/ SafeMode并查看问题是否仍然存在(有关信息,请访问http://msdn.microsoft.com/en-us/library/xee0c8y7%28VS.80%29.aspx)
I have seen similar issues with office where a faulty add in has hooks in processes and places you would not dream of, then a crash seems to take out the whole system!
我已经看到办公室的类似问题,其中一个错误的添加有进程和你不会梦想的地方的钩子,然后崩溃似乎取出了整个系统!
Even if a addin is good, it is possible to have ones that conflict with each other and cause problems that you would never see from just running them separately.
即使插件是好的,也可能存在相互冲突的问题,并导致单独运行它们时永远看不到的问题。
#1
Try uninstalling / removing all addins to Visual Studio.
尝试卸载/删除Visual Studio中的所有插件。
Also, try running VS with either of these flags -
此外,尝试使用这些标志之一运行VS -
/ResetSkipPkgs or /SafeMode and see if the problem persists (info found at http://msdn.microsoft.com/en-us/library/xee0c8y7%28VS.80%29.aspx)
/ ResetSkipPkgs或/ SafeMode并查看问题是否仍然存在(有关信息,请访问http://msdn.microsoft.com/en-us/library/xee0c8y7%28VS.80%29.aspx)
I have seen similar issues with office where a faulty add in has hooks in processes and places you would not dream of, then a crash seems to take out the whole system!
我已经看到办公室的类似问题,其中一个错误的添加有进程和你不会梦想的地方的钩子,然后崩溃似乎取出了整个系统!
Even if a addin is good, it is possible to have ones that conflict with each other and cause problems that you would never see from just running them separately.
即使插件是好的,也可能存在相互冲突的问题,并导致单独运行它们时永远看不到的问题。