VS2010调试刚刚停止,未知错误:0x80072ee6 [英] VS2010 debugging just stopped, Unknown error: 0x80072ee6

查看:717
本文介绍了VS2010调试刚刚停止,未知错误:0x80072ee6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某些原因,我将调试器附加到任何的能力刚刚停止。在电脑重新启动后它一直存在,这真的让事情变得困难。

For some reason, my ability to attach a debugger to ANYTHING has just stopped. It has persisted after a computer reboot, and it's really making things difficult.

这是我得到的错误:

---------------------------
Microsoft Visual Studio
---------------------------
Unable to attach to the process. Operation not supported. Unknown error: 0x80072ee6.
---------------------------
OK   
---------------------------

我的意思是,什么地狱?它在VS2010运行时停止工作:为一个调试工作,我停止了,然后下一个没有工作。

I mean, what the hell? It stopped working whilst VS2010 was running: worked for one debug, I stopped it, and then the next one didn't work.

任何帮助?感谢提前。

编辑:

我尝试过:
a)重新启动电脑
b)regsvr32 MSXML3.dll
c)修复MS VS2010
d)手动附加调试器,并使用调试按钮

I have tried: a) rebooting the computer b) regsvr32 MSXML3.dll c) repairing MS VS2010 d) attaching the debugger manually, and by using the debug button

推荐答案

我有这个确切的问题,发现它只影响了我正在开展的一个项目。如果我打开Visual Studio与其他.sln文件,他们能够附加到任何进程没有问题。删除受影响的解决方案的.suo文件没有帮助,但是将整个项目移动到不同的目录,以解决问题。

I had this exact problem and found that it only affected one of the projects I was working on. If I opened Visual Studio with other .sln files, they were able to attach to any process without problems. Deleting the .suo file for the affected solution didn't help, however moving the whole project to a different directory fixed the problem.

我认为Visual Studio保留附加数据对于每个解决方案文件在公共位置(可能在%AppData%\Microsoft\VisualStudio 某处),以某种方式,该数据已被破坏为解决方案文件的特定路径。 ..

I think that Visual Studio keeps additional data for each solution file in a common location(maybe in %AppData%\Microsoft\VisualStudio somewhere) and somehow that data got corrupted for that specific path to a solution file...

编辑:我找到了!删除%LOCALAPPDATA%\Microsoft\WebsiteCache 中的缓存无需移动项目文件即可解决问题。

I found it! Deleting the cache in %LOCALAPPDATA%\Microsoft\WebsiteCache fixed the problem without me having to move the project files.

这篇关于VS2010调试刚刚停止,未知错误:0x80072ee6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆