User Guide

  • 2020
  • 05/04/2020
  • Public Content
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
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.
The debugger is not supported for the
mi1
analysis type.
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

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804