-
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¶
- “y” if
PRINTK
&&DEBUG_INFO
&& !OMIT_FRAME_POINTER
Kconfig definition¶
At subsys/debug/Kconfig:168
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/Kconfig:12
Menu path: (top menu) → Debugging Options
config EXCEPTION_STACK_TRACE bool prompt "Attempt to print stack traces upon exceptions" ifPRINTK
&&DEBUG_INFO
&& !OMIT_FRAME_POINTER
default "y" ifPRINTK
&&DEBUG_INFO
&& !OMIT_FRAME_POINTER
depends onPRINTK
&&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.)