Pane: Code Locations-Static Analysis

Pane position in window

The Intel Inspector displays this pane when you open an existing result. You can also configure the project to display this pane when analysis is complete. Use this pane on the Summary window to:

Use This

To Do This

Pane title

Verify the type of the selected problems.

Pane controls

  • Hide/show this pane (click Pane toggle icon or Pane toggle icon).

  • Hide/show the adjacent Filters pane (click Pane toggle icon or Pane toggle icon).

Code location region

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

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

  • Review traceback information for a code location.

  • Choose a problem 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 -

    • Dynamic analysis results - Display a Sources window focused on the selected problem occurrence.

    • Static analysis results - Display a Sources window focused on the selected problem.

    (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.)

See Also


Supplemental documentation specific to a particular Intel Studio may be available at <install-dir>\<studio>\documentation\ .

Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.