使用不同的配置调试同一项目的2个以上实例 [英] Debug 2+ instances of same project with different config

查看:55
本文介绍了使用不同的配置调试同一项目的2个以上实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个分布式应用程序,并且测试要求我一次运行多个实例.

I'm writing a distributed app and testing requires that I run more than one instance at a time.

是否可以调试同一项目的两个或多个不同的实例(最简单的方法是传递不同的命令行选项)?

Is it possible to debug two or more distinct instances of the same project (at the simplest, passing in different command-line options)?

推荐答案

是的,附加到两个进程(调试->附加到进程).它们将出现在进程"调试窗口下,并且它们的线程将在线程"窗口中按进程分组/排列.

Yes, attach to both processes (Debug -> Attach to Process). They will appear under the Processes debug window and their threads will be grouped/headed by process in the Threads window.

这篇关于使用不同的配置调试同一项目的2个以上实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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