Intel® Inspector User Guide for Windows* OS

ID 767798
Date 3/22/2024
Public

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

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.