mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
vim-patch:8.0.1217: remote eval to inspect vars in :debug #10903
Problem: Can't use remote eval to inspect vars in debug mode.
Solution: Don't discard the call stack in debug mode. (closes vim/vim#2237, vim/vim#2247)
d99388ba85
This commit is contained in:

committed by
Justin M. Keyes

parent
e29b89ca54
commit
57327bb483
@@ -159,6 +159,7 @@ void do_debug(char_u *cmd)
|
||||
redir_off = true; // don't redirect debug commands
|
||||
|
||||
State = NORMAL;
|
||||
debug_mode = true;
|
||||
|
||||
if (!debug_did_msg) {
|
||||
MSG(_("Entering Debug mode. Type \"cont\" to continue."));
|
||||
@@ -337,6 +338,7 @@ void do_debug(char_u *cmd)
|
||||
msg_scroll = save_msg_scroll;
|
||||
lines_left = (int)(Rows - 1);
|
||||
State = save_State;
|
||||
debug_mode = false;
|
||||
did_emsg = save_did_emsg;
|
||||
cmd_silent = save_cmd_silent;
|
||||
msg_silent = save_msg_silent;
|
||||
|
Reference in New Issue
Block a user