Intel® Inspector User Guide for Windows* OS

ID 767798
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Pane: Code Locations

Pane position in window

To access this Intel Inspector pane: Click the Summary button on the Navigation toolbar.

During Analysis

Use this pane on the Summary window to:

  • View code locations for selected problems.

  • Choose problem occurrences of interest to display in the Sources window.

  • Edit corresponding source code in your default editor.

After Analysis is Complete

The Intel Inspector displays this pane after analysis is complete and when you open a result. Use this pane on the Summary window to:

TIP:

The number of problem occurrences available for display in this pane depends on how you configure the analysis. For future analysis runs:

  • Deselect the Remove duplicates checkbox on the Analysis Type window to report all occurrences of a detected problem. Deselecting is:

    • Useful when you need to fully visualize all threads and problem occurrences in relation to time

    • Low cost in terms of performance; however, the number of detected problem occurrences could be significantly higher and may require more system resources for storage and processing

  • Select the Remove duplicates checkbox to report only a representative occurrence of each detected problem.

Use This

To Do This

Pane title

Verify the type of the selected problems.

Pane controls

  • Review code location, surrounding source code snippet, call stack, and timeline information for all code locations in:

    • An occurrence of the selected problems (move the slider control, click or , or press Ctrl+Left Arrow or Ctrl+Right Arrow).

    • All occurrences of the selected problems (click the All button to toggle on and off).

  • Hide/show this pane (click or ).

Code location region

  • Review summary information for a code location in a problem occurrence.

  • Review a source code snippet surrounding a code location. (The yellow highlight marks the code location source line.)

  • Review the call stack for a problem occurrence.

  • Identify the thread associated with a code location (click to color the code location marker blue in the Timeline pane).

  • Choose a problem or problem occurrence of interest to display in the Sources window (double-click).

Data column header

  • Reposition the data column (drag).

  • Resize the data column (drag left or right border).

  • Sort code locations in ascending or descending order by column data (click). (Enabled only after analysis is complete.)

Pane border

Resize the pane (drag).

Context menu

  • View Source - Display a Sources window focused on the selected problem occurrence. (Default action when you double-click a data row in the Code Locations pane.)

  • Edit Source - Open the source file for the selected code location in your default editor.

  • Copy to Clipboard - Copy a summary of the selected code location to the system clipboard.

  • Explain Problem - Explain, in generic terms, the error associated with the code.

  • Create Problem Report... - Export details of the selected code location to plain text format. (Enabled only after analysis is complete.)

  • Suppress... or Do Not Suppress... -

    • Create a rule to suppress problems associated with the selected code location during the next analysis run. (Intel Inspector marks - with strikethroughs - problems potentially impacted during the next analysis run.)

    • Or delete a rule for a marked code location. (Strikethroughs disappear.)

    (Enabled only after analysis is complete.)
    NOTE:

    You can also delete suppression rules using the Suppressions tab of the Project Properties dialog box.

  • Show Source Code Snippets - Display or not display several source code lines surrounding each code location. (The yellow highlight marks the code location source line.)