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:168

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:12

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.)