# HG changeset patch # User John W. Eaton # Date 1523308698 14400 # Node ID 559e4821c3f75f7de94a6d446838cc0759f5cf8c # Parent 1b1b29705d532372e7b7cd17d9fc179ce1b9720f make dbquit work again (bug #53426) * debug.cc (Fdbquit): Also set tree_evaluator::debug_mode. Throw interrupt_exception instead of calling octave_throw_interrupt_exception. diff -r 1b1b29705d53 -r 559e4821c3f7 libinterp/corefcn/debug.cc --- a/libinterp/corefcn/debug.cc Mon Apr 09 11:33:21 2018 -0700 +++ b/libinterp/corefcn/debug.cc Mon Apr 09 17:18:18 2018 -0400 @@ -1160,11 +1160,14 @@ if (args.length () != 0) print_usage (); + // FIXME: there are too many debug mode flags! + Vdebugging = false; octave::tree_evaluator::reset_debug_state (); + octave::tree_evaluator::debug_mode = false; - octave_throw_interrupt_exception (); + throw octave::interrupt_exception (); return ovl (); }