Tutorial: Analyzing Threading Errors with Intel® Inspector and a C++ Sample
To start exploring a detected threading error:
The Summary window is the starting point for managing result data. It groups problems into problem sets and then prioritizes the problem sets by severity and size. |
|
Think of the
Problems pane as a
to-do list. Start at the top and work your way down. Try viewing the problems in various problem sets by clicking the corresponding
|
|
The Code Locations pane shows the code location summary, surrounding source code snippet, call stack, and thread and timeline information for all code locations in one or all occurrences of the problem(s) highlighted in the Problems pane.
Try viewing information for different occurrences of the highlighted problem by clicking the
|
When you are finished experimenting:
Click the
icon for the
Data race problem set in the
find_and_fix_threading_errors.cpp source file to view all the problems in the problem set.
Double-click the data row for the first Data race problem in the problem set to display the Sources window, which provides more visibility into the cause of the error.