开发者

vsjitdebugger.exe suggests a new instances, ignoring the one already running - what to do?

开发者 https://www.devze.com 2023-01-26 01:34 出处:网络
I am debugging 开发者_开发问答two instances of the same process (run with different command line arguments).

I am debugging 开发者_开发问答two instances of the same process (run with different command line arguments). Let us refer to them as agents.

Now while debugging the first instance I am starting the second one. I must add that Image Execution Flags define that the agent be started through a debugger, which is vsjitdebugger.exe.

Now, my hope was that vsjitdebugger.exe will allow me to attach the already running VS2010 instance to the new process, however, it only suggests to open a new instance.

I think this has to do with the fact that the current VS2010 instance is already debugging a process, but I do not understand why it matters. After all, from within VS2010 it is no problem to attach to more than one process.

Does anyone know how to make vsjitdebugger.exe recognize the open VS2010 instance, even if the latter is already attached to a process?

Thanks.


Switch back to VS and use Tools + Attach to Process. Click No on the JIT debugger prompt :)

0

精彩评论

暂无评论...
验证码 换一张
取 消