无法附加到进程.调试器已连接. [英] Unable to attach to the process. A debugger is already attached.

查看:584
本文介绍了无法附加到进程.调试器已连接.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WebService调试项目,该项目应该与  test(main.vb)进程同时运行.建议我将测试过程附加到运行n IIS的Web服务上,但是会收到错误消息

I am debugging a project with a WebService that is supposed to be running side by side with the  test (main.vb) process. I was advised to attached that test process to the webservice running n IIS but received an error 

 -无法附加到该进程.调试器已经连接.

 - Unable to attach to the process. A debugger is already attached.

我该怎么做才能纠正这个问题?

What must I do to correct this?

谢谢

推荐答案

嗨jammerDev,

Hi jammerDev,

您能告诉我们有关如何在测试过程中并排调试WebService的详细信息吗?它可以帮助我们尝试重现此问题并检查过程中发生了什么.

Could you tell us the detailed information about how do you debug the WebService side by side with the test process? It could help us try reproduce this issue on our side and check what happened in the process.

根据错误消息,出现此问题的原因是,当您尝试附加此过程时,测试过程正在调试中.因此,请确保测试过程不在调试中.

According to the error message, this issue occurs because the test process is debugging when you try attach this process. So please make sure the test process is not in debugging first.

并且由于您的Web服务托管在IIS上,请检查是否安装了Debug Diagnostics Tool v1.2.如果是,调试诊断服务将自动启动并附加到w3wp进程之一.请尝试关闭并禁用 这项服务.

And since your Web Service is hosted on IIS, please check whether you installed Debug Diagnostics Tool v1.2. If yes, the Debug Diagnostic Service will be started automatically and attached to one of w3wp processes. Please try turn off and disabling this service.

参考:

http://stackoverflow.com/questions/24605673/visual-studio-2012-unable-attach-the-process-a-debugger-is-aready-attached

最好的问候,
Weiwei

Best Regards,
Weiwei


这篇关于无法附加到进程.调试器已连接.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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