Compartir a través de


Lines View

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

The Lines view is available only for profiler data that was collected by using the sampling method. The view is not available for data that was collected by using instrumentation.

For sampling profile data, the Lines view identifies the statement in a function that was directly executing when the sample was collected. For .NET memory data, the Lines view identifies the statements that allocate memory.

In a source file, a statement can span more that one line in a source file, and a single line can include more than one statement.

A statement is identified by the following:

  • The source file that contains the function statement.

  • The function that contains the statement.

  • The source line at which the statement starts.

  • The character in the source line at which the statement starts.

  • The source line at which the statement ends.

  • The character in the source line at which the statement ends.

See also