问题描述
我正在使用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?
谢谢
推荐答案
您能告诉我们有关如何在测试过程中并排调试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.
参考:
Best Regards,
Weiwei
这篇关于无法附加到进程.调试器已连接.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!