Mercurial > octave
changeset 32420:cdea5878d55a
Ensure VM specific fields are set in tree_evaluator
Fields used for telling the VM that debugging etc. is active
were not initialized and could get a random value at startup
enabling the VM debugger in vain.
* pt-eval.h: Set fields to false
author | Petter T. |
---|---|
date | Tue, 17 Oct 2023 13:23:19 +0200 |
parents | 777e62ee2f7f |
children | bac9c48047cd |
files | libinterp/parse-tree/pt-eval.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/pt-eval.h Tue Oct 17 13:27:59 2023 +0200 +++ b/libinterp/parse-tree/pt-eval.h Tue Oct 17 13:23:19 2023 +0200 @@ -137,7 +137,8 @@ m_whos_line_format (" %la:5; %ln:6; %cs:16:6:1; %rb:12; %lc:-1;\n"), m_silent_functions (false), m_string_fill_char (' '), m_PS4 ("+ "), m_dbstep_flag (0), m_break_on_next_stmt (false), m_echo (ECHO_OFF), - m_echo_state (false), m_echo_file_name (), m_echo_file_pos (1), + m_echo_state (false), m_echo_file_name (), m_vm_dbg_profile_echo (false), + m_vm_profiler_active (false), m_echo_file_pos (1), m_echo_files (), m_in_top_level_repl (false), m_server_mode (false), m_in_loop_command (false), m_breaking (0), m_continuing (0), m_returning (0),