选择要“快照”的调试过程(Choose which debugged process to “Take Snapshot” of)

我正在调试NamedPipes的测试,因此我正在使用以下方法调试运行在单个解决方案中的客户端和服务器项目:

右键单击解决方案资源管理器>设置启动项目...

我想查看我的服务器应用程序的堆使用情况的差异,但诊断工具“Take Snapshot”似乎只是获取客户端应用程序的详细信息。

是否有我缺少的地方,允许我选择诊断工具所遵循的过程?

I'm debugging a test of NamedPipes, so I am debugging both a client and server project running in a single solution using:

right-click on the solution in Solution Explorer > Set StartUp Projects...

I'd like to view the difference in heap usage of my Server application, but the Diagnostic Tools "Take Snapshot" seems to just get the details of the Client application.

Is there a place I'm missing that allows me to choose which process the Diagnostic Tools are following?

最满意答案

它使用解决方案属性对话框中列出的第一个StartUp项目,该项目通过右键单击> Set StartUp Projects ...(设置启动项目...)显示,并且存在向上和向下箭头以更改排序。

It's using the first StartUp project listed in the Solution Properties dialogue box that is displayed by the right-click > Set StartUp Projects..., and there's up and down arrows there to change the ordering.

更多推荐