From 9781d9c00517a67c44b50b040cca2c5804daf15c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 20 Sep 2022 13:51:25 +0100 Subject: patch 9.0.0513: may not be able to use a pattern ad the debug prompt Problem: May not be able to use a pattern ad the debug prompt. Solution: Temporarily disable the timeout. (closes #11164) --- src/debugger.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/debugger.c') 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; -- cgit v1.2.3