Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我经常使用同一个 Visual Studio 实例调试包含在一个解决方案中的多个项目。为此,我在要调试的每个项目上使用“调试”->“启动新实例”菜单:
使用菜单“调试”->“停止调试”时,所有项目调试会话都将停止。
如何仅停止一个项目的调试会话?
打开进程窗口(通常位于调试 -> Windows -> 进程下),右键单击要停止调试的进程并选择“分离进程”(停止调试并保持进程运行)或“终止进程” (终止进程)
(此屏幕截图是 Visual Studio 2012 的,但该对话框与以前版本的 Visual Studio 非常相似)