:orphan: .. title:: CONFIG_EXCEPTION_STACK_TRACE .. kconfig:: CONFIG_EXCEPTION_STACK_TRACE CONFIG_EXCEPTION_STACK_TRACE ############################ *Attempt to print stack traces upon exceptions* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`PRINTK ` && \ :kconfig:`DEBUG_INFO ` && !\ :kconfig:`OMIT_FRAME_POINTER ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== At ``/debug/Kconfig:311`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:17`` Menu path: (Top) → Sub Systems and OS Services → Debugging Options → Enable system debugging information .. code-block:: kconfig config EXCEPTION_STACK_TRACE bool "Attempt to print stack traces upon exceptions" default y 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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*