comparison src/ex_cmds2.c @ 12678:116b7394b8af v8.0.1217

patch 8.0.1217: can't use remote eval to inspect vars in debug mode commit https://github.com/vim/vim/commit/d99388ba8535a6fecf7d0bf7b982832c0b816062 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 26 14:28:32 2017 +0200 patch 8.0.1217: can't use remote eval to inspect vars in debug mode Problem: Can't use remote eval to inspect vars in debug mode. Solution: Don't discard the call stack in debug mode. (closes https://github.com/vim/vim/issues/2237, https://github.com/vim/vim/issues/2247)
author Christian Brabandt <cb@256bit.org>
date Thu, 26 Oct 2017 14:30:04 +0200
parents 20aacdca367d
children ebb4f6c93598
comparison
equal deleted inserted replaced
12677:4b2339dc1bf5 12678:116b7394b8af
129 msg_silent = FALSE; /* display messages */ 129 msg_silent = FALSE; /* display messages */
130 emsg_silent = FALSE; /* display error messages */ 130 emsg_silent = FALSE; /* display error messages */
131 redir_off = TRUE; /* don't redirect debug commands */ 131 redir_off = TRUE; /* don't redirect debug commands */
132 132
133 State = NORMAL; 133 State = NORMAL;
134 debug_mode = TRUE;
134 135
135 if (!debug_did_msg) 136 if (!debug_did_msg)
136 MSG(_("Entering Debug mode. Type \"cont\" to continue.")); 137 MSG(_("Entering Debug mode. Type \"cont\" to continue."));
137 if (sourcing_name != NULL) 138 if (sourcing_name != NULL)
138 msg(sourcing_name); 139 msg(sourcing_name);
317 redraw_all_later(NOT_VALID); 318 redraw_all_later(NOT_VALID);
318 need_wait_return = FALSE; 319 need_wait_return = FALSE;
319 msg_scroll = save_msg_scroll; 320 msg_scroll = save_msg_scroll;
320 lines_left = Rows - 1; 321 lines_left = Rows - 1;
321 State = save_State; 322 State = save_State;
323 debug_mode = FALSE;
322 did_emsg = save_did_emsg; 324 did_emsg = save_did_emsg;
323 cmd_silent = save_cmd_silent; 325 cmd_silent = save_cmd_silent;
324 msg_silent = save_msg_silent; 326 msg_silent = save_msg_silent;
325 emsg_silent = save_emsg_silent; 327 emsg_silent = save_emsg_silent;
326 redir_off = save_redir_off; 328 redir_off = save_redir_off;