Mercurial > octave-antonio
diff src/pt-eval.cc @ 10194:d4f813c3f5ed
more debug mode fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 23 Jan 2010 11:19:46 -0500 |
parents | 97ae300aa73a |
children | 752f349052a2 |
line wrap: on
line diff
--- a/src/pt-eval.cc Fri Jan 22 16:54:59 2010 -0500 +++ b/src/pt-eval.cc Sat Jan 23 11:19:46 2010 -0500 @@ -119,7 +119,7 @@ void tree_evaluator::reset_debug_state (void) { - debug_mode = bp_table::have_breakpoints (); + debug_mode = bp_table::have_breakpoints () || Vdebugging; dbstep_flag = 0; } @@ -647,7 +647,7 @@ { Vdebugging = false; - reset_debug_state; + reset_debug_state (); } else if (tree_evaluator::in_fcn_or_script_body || tree_evaluator::in_loop_command)