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 behavior 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 ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/posix/Kconfig:25

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

Menu path: (Top) → POSIX (native) Options

config ARCH_POSIX_STOP_ON_FATAL_ERROR
    bool "Terminate execution on fatal errors"
    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 behavior 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

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)