Skip to content

__debug_on_warning__

builtin · libnexusinterp/corefcn/error-proprietary.cc

: val = __debug_on_warning__ ()
: old_val = __debug_on_warning__ (new_val)
: old_val = __debug_on_warning__ (new_val, "local")

Query or set whether issuing a warning enters the debugger.

Equivalent to dbstop if warning. With "local" the change ends when the calling function returns.