Intel® Inspector User Guide for Linux* OS

ID 767796
Date 10/31/2024
Public
Document Table of Contents

Edit Source Code

You can access source code directly from Intel Inspector windows to resolve issues.

CAUTION:

Editing the source file may desynchronize source file line numbers and result line number references. If your edits change line numbering, consider rebuilding the application and running another analysis. If you plan to examine a large number of issues before running another analysis, consider editing a copy of the source file.

To Do This

Do This

Edit the source code for the primary code location in a problem or problem set.

In the Problems pane on the Summary window, right-click the problem or problem set to display a context menu, then choose Edit Source.

Edit the source code for any code location in a problem.

Do one of the following:

  • In the Code Locations pane on the Summary window, right-click the code location to display a context menu, then choose Edit Source.

  • Double-click anywhere in the Source tab on the Sources window.

Edit call stack source code.

Double-click the call stack frame in the Call Stack tab on the Sources window.

NOTE:

This action also displays associated code in the Source tab on the Sources window.

Outcome: The source file opens in your default editor.