Function Reference
— Built-in Function: val = debug_on_interrupt ()
— Built-in Function: old_val = debug_on_interrupt (new_val)

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.