The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_EXCEPTION_STACK_TRACE

Attempt to print stack traces upon exceptions

Type: bool

Help

If the architecture fatal handling code supports it, attempt to print a stack trace of function memory addresses when an exception is reported.

Direct dependencies

PRINTK && DEBUG_INFO && !OMIT_FRAME_POINTER

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/debug/Kconfig:209

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:14

Menu path: (top menu) → Debugging Options

config EXCEPTION_STACK_TRACE
    bool
    prompt "Attempt to print stack traces upon exceptions" if PRINTK && DEBUG_INFO && !OMIT_FRAME_POINTER
    default "y" if PRINTK && DEBUG_INFO && !OMIT_FRAME_POINTER
    depends on PRINTK && DEBUG_INFO && !OMIT_FRAME_POINTER
    help
      If the architecture fatal handling code supports it, attempt to
      print a stack trace of function memory addresses when an
      exception is reported.

(Definitions include propagated dependencies, including from if’s and menus.)