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

Terminate execution on fatal errors

Type: bool

Help

If set, when a fatal error occurs, the execution will stop immediately with an error. If not set, the default Zephyr behaviour will be followed: terminate only if the fault was triggered in an ISR or essential thread, otherwise abort the current thread and attempt to continue. Enabling this option may simplify locating and debugging faults

Direct dependencies

ARCH_POSIX && ARCH_POSIX

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

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/posix/Kconfig:25

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → POSIX (native) Options

config ARCH_POSIX_STOP_ON_FATAL_ERROR
    bool
    prompt "Terminate execution on fatal errors" if ARCH_POSIX && ARCH_POSIX
    depends on ARCH_POSIX && ARCH_POSIX
    help
      If set, when a fatal error occurs, the execution will stop immediately with
      an error. If not set, the default Zephyr behaviour will be followed:
      terminate only if the fault was triggered in an ISR or essential thread,
      otherwise abort the current thread and attempt to continue.
      Enabling this option may simplify locating and debugging faults

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