简体   繁体   English

使用不同的配置调试同一项目的 2+ 个实例

[英]Debug 2+ instances of same project with different config

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.它们将出现在“进程”调试窗口下,并且它们的线程将在“线程”窗口中按进程分组/领导。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2017 调试同一项目的多个实例 - Visual Studio 2017 Debug Multiple Instances of the Same Project 相同的Web服务项目,不同的配置,无法调试 - Same web service project, different configuration, can't debug 将Web配置调试设置为false并破坏项目 - Set web config debug to false and broke project 如何在不同的解决方案之间共享相同的 Visual Studio 项目? 不同的 app.config 和 settings.settings - How to share same Visual Studio project between different solutions? Different app.config and setttings.settings “收藏被修改; 同时在2个以上表单实例上运行同一后台工作程序时,“枚举操作可能无法执行” - “Collection was modified; enumeration operation may not execute” when running the same background worker on 2+ instances of a form simultaneously WPF中同一用户控件的不同实例中的不同值 - Different values in different instances of the same usercontrol in WPF 如何在同一解决方案中从另一个项目获取App.Config - How do I get the App.Config from a different project within the same solution 将同一控件的2个实例绑定到不同的属性 - Binding 2 instances of the same control to different properties 同一进程的多个实例记录在不同的文件上 - Multiple instances of same process logging on different files Unity中的序列化示例; 具有相同类别的不同实例 - Example of Serialization in Unity; with different instances of the same class
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM