无法启动调试,因为调用的对象与客户端断开连接 [英] Unable to start debugging because the object invoked has disconnected from its clients
本文介绍了无法启动调试,因为调用的对象与客户端断开连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在运行Visual Studio 2012(版本11.0.61030.00更新4)。调试本地控制台应用程序时,我开始调试时遇到以下错误(F5):
I'm running Visual Studio 2012 (version 11.0.61030.00 update 4). When debugging a local console application I get the following error when I start debugging (F5):
---------------------------
Microsoft Visual Studio
---------------------------
Error while trying to run project: Unable to start debugging.
The object invoked has disconnected from its clients.
---------------------------
OK
---------------------------
只有在我离开视觉工作室,没有调试几分钟。如果我关闭视觉工作室并重新打开错误就会消失(直到我离开它几分钟)。有没有人经历过这个?我找不到其他人遇到任何线程。
This only happens if I leave visual studio alone without debugging for a couple minutes. If I close visual studio and re-open the error goes away (until I leave it untouched for another couple of minutes). Has anyone experienced this? I can't find any threads of other people experiencing it.
推荐答案
这可能是一个可能的答案的问题。
答案中的一些:
- 从源代码控制引擎检查更新后的文件(为什么和如何) / li>
- 查看扩展名和插件列表。尝试禁用所有或其中一些
- 关闭Visual Studio并终止所有开发过程:
devenv,mspdbsrv,vcpkgsrv,msbuild,conhost,msvsmon
etc - 删除
.suo
和.ncb
解决方案有时会导致问题 - 删除项目设置文件,排序
YourProjectName.vcproj.DOMAINNAME.LOGINNAME.user
或YourProjectName.csproj.user
。设置文件名取决于您使用的项目类型 - 运行
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ devenv.exe/ setup
或C:\Program Files(x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe/ setup
for x64 environment
- Check which files were changed (why and how) after update from a source control engine
- Review the list of extensions and plugins. Try to disable all or some of them
- Close Visual Studio and kill all the development processes:
devenv, mspdbsrv, vcpkgsrv, msbuild, conhost, msvsmon
etc - Remove
.suo
and.ncb
files of the solution, which sometimes cause problems - Remove project setting files, sort of
YourProjectName.vcproj.DOMAINNAME.LOGINNAME.user
orYourProjectName.csproj.user
. The setting file name depends on a project kind you use - Run
"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup
or"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup
for x64 environment
这篇关于无法启动调试,因为调用的对象与客户端断开连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文