diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-20 13:51:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-20 13:51:25 +0100 |
commit | 9781d9c00517a67c44b50b040cca2c5804daf15c (patch) | |
tree | 6188156e94afb4d1ed7b3635d94efc3040437e95 /src/debugger.c | |
parent | c14bfc31d907cbee6a3636f780561ad1787cdb9b (diff) |
patch 9.0.0513: may not be able to use a pattern ad the debug promptv9.0.0513
Problem: May not be able to use a pattern ad the debug prompt.
Solution: Temporarily disable the timeout. (closes #11164)
Diffstat (limited to 'src/debugger.c')
-rw-r--r-- | src/debugger.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debugger.c b/src/debugger.c index 4a325505ae..09c8355171 100644 --- a/src/debugger.c +++ b/src/debugger.c @@ -87,6 +87,7 @@ do_debug(char_u *cmd) msg_silent = FALSE; // display messages emsg_silent = FALSE; // display error messages redir_off = TRUE; // don't redirect debug commands + save_timeout_for_debugging(); // disable regexp timeout flag State = MODE_NORMAL; debug_mode = TRUE; @@ -293,6 +294,7 @@ do_debug(char_u *cmd) redraw_all_later(UPD_NOT_VALID); need_wait_return = FALSE; msg_scroll = save_msg_scroll; + restore_timeout_for_debugging(); lines_left = Rows - 1; State = save_State; debug_mode = FALSE; |