How to: Filter profiling tools report views to display Just My Code

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

Visual Studio provides filtering for performance reports so that they display only code that you have implemented. This feature, which is named Just My Code, is enabled by default. It is configured through the Just My Code option in the Options dialog box.

To enable Just My Code

  1. On the Tools menu, click Options.

  2. In the Options dialog box, expand Performance Tools and then select the General node.

  3. Under General settings, select the Enable Just My Code check box.

To disable Just My Code

  1. On the Tools menu, click Options.

  2. In the Options dialog box, expand Performance Tools and then select the General node.

  3. Under General settings, clear the Enable Just My Code check box.

See also

Customize performance tools report views