从visual studio调试器中分离一个进程 [英] detach one process from visual studio debugger
问题描述
我的问题有点类似于这个
如何在不停止进程的情况下停止调试(或分离进程)
但是我想从一个进程中分离。 p>
例如,我有一个Windows窗体应用程序,我也附加到Windows服务。我只想从分离服务(分离所有将删除所有执行的调试,因此我将无法调试其他应用程序)。
PS:如果可能请提到visual studio 2008和2010。
在进程窗口(Debug - > Windows - >进程)中,右键单击在您要分离的进程的名称上,并在快捷菜单上单击分离进程。
My question is somewhat similar to this "How to stop debugging (or detach process) without stopping the process?"
but i want to detach from one process.
for instance, I have a windows form app which i also attach to a windows service. I want to detach from only service (detach all will remove debugging from all executions and hence i won't be able to debug other application).
P.S: If possible please mention for visual studio 2008 and 2010.
In the Processes window (Debug -> Windows -> Processes), right-click on the name of the process you want to detach, and on the shortcut menu, click Detach Process.
这篇关于从visual studio调试器中分离一个进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!