Mercurial > hg > octave-nkf
diff src/debug.cc @ 10194:d4f813c3f5ed
more debug mode fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 23 Jan 2010 11:19:46 -0500 |
parents | 095a1e670e68 |
children | 0efd486813fe |
line wrap: on
line diff
--- a/src/debug.cc +++ b/src/debug.cc @@ -287,7 +287,7 @@ else error ("add_breakpoint: unable to find the function requested\n"); - tree_evaluator::debug_mode = bp_table::have_breakpoints (); + tree_evaluator::debug_mode = bp_table::have_breakpoints () || Vdebugging; return retval; } @@ -343,7 +343,7 @@ error ("remove_breakpoint: unable to find the function requested\n"); } - tree_evaluator::debug_mode = bp_table::have_breakpoints (); + tree_evaluator::debug_mode = bp_table::have_breakpoints () || Vdebugging; return retval; } @@ -382,7 +382,7 @@ error ("remove_all_breakpoint_in_file: " "unable to find the function requested\n"); - tree_evaluator::debug_mode = bp_table::have_breakpoints (); + tree_evaluator::debug_mode = bp_table::have_breakpoints () || Vdebugging; return retval; } @@ -394,7 +394,7 @@ remove_all_breakpoints_in_file (*it); - tree_evaluator::debug_mode = bp_table::have_breakpoints (); + tree_evaluator::debug_mode = bp_table::have_breakpoints () || Vdebugging; } std::string