Navigation

Operators and Keywords

Function List:

C++ API

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

Query or set the internal variable that controls whether Octave will try to enter debugging mode when it receives an interrupt signal (typically generated with C-c).

If a second interrupt signal is received before reaching the debugging mode, a normal interrupt will occur.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: debug_on_error, debug_on_warning.

Package: octave