Intel® Inspector User Guide for Linux* OS

ID 767796
Date 3/31/2023
Public

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

Document Table of Contents

appdebug

Set when to enable the debugger.

Syntax

-appdebug <value>

Arguments

off

Do not connect to debugger.

on-start

Connect to debugger when the application starts.

on-error

Connect to debugger when an application error is detected.

delay-analysis

(off)

Default

Off

Actions Modified

collect

Description

Use the appdebug action-option to set when to stop application execution and connect the application to the debugger. Useful for examining application state when Intel Inspector detects recognized problem types (break events).

  • The GNU gdb* debugger is launched by default.

  • If the Intel® Debugger is installed and in your path, you can launch the GUI or command-line version by setting the environment variable INSPXE_DEBUGGER to idb or idbc.

  • This is low cost for memory error analysis, but can be high cost for threading error analysis.

NOTE:

The debugger is not supported for the mi1 analysis type.

Example

Perform a Locate Memory Problems analysis and connect to the debugger only when an application error is detected.

$ inspxe-cl -collect mi3 -appdebug on-error -- ./test_memory.gcc