0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.4299: SafeState autocommand interferes with debugging

Problem:    SafeState autocommand interferes with debugging.
Solution:   Do not trigger SafeState while debugging. (closes #9697)
This commit is contained in:
Bram Moolenaar
2022-02-05 12:10:52 +00:00
parent fc88df42f1
commit 46f3080e5c
2 changed files with 4 additions and 1 deletions

View File

@@ -1047,7 +1047,8 @@ is_safe_now(void)
return stuff_empty()
&& typebuf.tb_len == 0
&& scriptin[curscript] == NULL
&& !global_busy;
&& !global_busy
&& !debug_mode;
}
/*