Discover how to find and fix threading errors using the Intel® Inspector and the tachyon_insp_xe C++ sample application.

About This Tutorial

This tutorial demonstrates an end-to-end workflow you can ultimately apply to your own applications:

  1. Build an application to produce an optimal inspection result.

  2. Inspect an application to find threading errors.

  3. Edit application code to fix the threading errors.

  4. Investigate threading errors using interactive debugging.

  5. Rebuild and reinspect the application.

Estimated Duration

10-15 minutes.

Learning Objectives

After you complete this tutorial, you should be able to:

  • List the steps to find and fix threading errors using the Intel Inspector.

  • Define key Intel Inspector terms.

  • Identify compiler/linker options that produce the most accurate and complete analysis results.

  • Run threading error analyses.

  • Influence analysis scope and running time.

  • Navigate among windows in the Intel Inspector results.

  • Display a prioritized to-do list for fixing errors.

  • Access help for fixing specific errors.

  • Access source code to fix errors.

  • Launch an interactive debugging session to investigate problems more deeply.

More Resources

The concepts and procedures in this tutorial apply regardless of programming language; however, a similar tutorial using a sample application in another programming language may be available at http://software.intel.com/en-us/articles/intel-software-product-tutorials/. This site also offers tutorials for other Intel® products and a printable version (PDF) of tutorials.

In addition, you can find more resources at http://software.intel.com/en-us/articles/intel-parallel-studio-xe/.

Studio-specific supplemental documentation may be available at <install-dir>/<studio>/documentation/.