如何在 Visual Studio 中查看网络流量 [英] How to view network traffic in Visual Studio

查看:20
本文介绍了如何在 Visual Studio 中查看网络流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据

在诊断页面上,选择分析目标(您的启动项目已预选为分析目标,但您可以选择以已安装或正在运行的应用程序为目标),然后选择网络并按开始.或者,由于该工具是性能和诊断中心的一部分,您还可以选择其他工具来运行组合会话.

您可以在此处找到更多信息https://blogs.msdn.microsoft.com/visualstudio/2015/05/04/introducing-visual-studios-network-tool/

According to this Blog post there's something called Visual Studio Network Tool in performance & diagnostics, but I can't find it. If I start a new performance profiling session, I have all sorts of tools (CPU, Memory) but no Network. Tried in both Visual Studio 2015 and 2017.

解决方案

To access the Network tool, open the Diagnostics Tools window in Visual Studio 2015 and on the Debug menu, select Start Diagnostic Tools without Debugging (or just press Alt+F2).

On the diagnostics page, select the Analysis Target (your startup project is preselected as the analysis target but you can choose to target an installed or running app instead), then select Network and press Start. Alternatively, since the tool is part of the Performance and Diagnostics hub, you can also select additional tools in order to run a combined session.

You can find more information here https://blogs.msdn.microsoft.com/visualstudio/2015/05/04/introducing-visual-studios-network-tool/

这篇关于如何在 Visual Studio 中查看网络流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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