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 2015 分析器运行?我只需要分析一小段代码。下面的链接表明这可以通过“当命中”断点来完成,但没有提供关于条件应该是什么的任何细节。
Visual Studio Profiler 建议
您提供的链接是对新功能的建议。目前无法根据断点命中启动/停止分析器。但是,您可以在调试时随时在 CPU 使用情况选项卡中手动启用/禁用 CPU 采样。