共用方式為


How to: Set the current session

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

You can open multiple performance sessions in the Performance Explorer, and can then select one of the visible performance sessions to be set as the current session.

After you set a session as the current session, clicking Launch on the Performance Explorer toolbar will start profiling the current session.

To set current performance session

  • In Performance Explorer, right-click the performance session, and then click Set as Current Session.

    The session name appears in bold.

See also

Configure performance sessions Performance Explorer window Performance session properties Performance session overview