从一个VS实例调试程序的多个副本 [英] Debug multiple copies of a program from one VS instance

查看:107
本文介绍了从一个VS实例调试程序的多个副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个前Alpha GUI程序,我是 dogfooding ,并希望在调试器下运行(当出现问题时;)但是我不想为App的每个实例启动一个新的VS副本。可以这样做吗?

I have a pre-alpha GUI program that I'm dogfooding and want to run under the debugger (for when things go wrong ;) but I don't want to have to launch a new copy of VS for each instance of the App. Can this be done?

我不希望实际上一次调试多个实例,但仍然希望调试器能够查看所有这些实例。另外我每天开始几十个时间,所以要做的很简单。

I don't expect to actually be debugging more than one instance at a time, but still want the debugger in the look for all of them. Also I'm starting the app a few dozen time a day so it would have to be easy to do.

推荐答案

你可以在visual studio的一个实例中多次启动相同或不同的项目的实例。以下是如何:右键单击解决方案资源管理器中的任何项目,转到调试上下文菜单项,然后单击开始新实例

You can start an instance of the same, or different projects multiple times in one instance of visual studio. Here is how: Right click on any project in Solution Explorer, go to Debug context menu item, and click Start New Instance.

您可以从进程窗口查看和操作所有正在运行的进程。 (调试 - > Windows - >进程)

You can view and manipulate all your running processes from the Processes window. (Debug -> Windows -> Processes)

这篇关于从一个VS实例调试程序的多个副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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