Mercurial > octave-antonio
diff libinterp/parse-tree/pt-eval.cc @ 19379:c1ce43276b86 gui-release
avoid printing debug location in cmd window when using GUI to step
* pt-eval.cc, pt-eval.h (tree_evaluator::quiet_breakpoint_flag):
New member variable.
* debug.cc (Fdb_next_breakpoint_quiet): New function.
* main-window.cc (main_window::execute_debug_callback): Call
Fdb_next_breakpoint_quiet prior to Fdbstep and Fdbcont.
* input.cc, input.h (get_debug_input): Don't print debug location if
tree_evaluator::quiet_breakpoint_flag is true. Reset it after checking.
* lex.ll (octave_lexer::fill_flex_buffer,
octave_push_lexer::fill_flex_buffer): Don't abort if input_buf is empty.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Dec 2014 16:06:31 -0500 |
parents | 3978a5509f40 |
children | 5db5619fe54e |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-eval.cc Thu Dec 04 15:56:49 2014 -0500 +++ b/libinterp/parse-tree/pt-eval.cc Thu Dec 04 16:06:31 2014 -0500 @@ -57,6 +57,8 @@ bool tree_evaluator::debug_mode = false; +bool tree_evaluator::quiet_breakpoint_flag = false; + tree_evaluator::stmt_list_type tree_evaluator::statement_context = tree_evaluator::other;