Patch 8.2.4098 Problem: Typing "interrupt" at debug prompt may keep exception around, causing function calls to fail. Solution: Discard any exception at the toplevel. (closes #9532) Files: src/main.c
*** ../vim-8.2.4097/src/main.c 2022-01-13 16:06:42.510068321 +0000 --- src/main.c 2022-01-15 15:18:51.542859763 +0000 *************** *** 1246,1251 **** --- 1246,1258 ---- else previous_got_int = FALSE; + #ifdef FEAT_EVAL + // At the toplevel there is no exception handling. Discard any that + // may be hanging around (e.g. from "interrupt" at the debug prompt). + if (did_throw && !ex_normal_busy) + discard_current_exception(); + #endif + if (!exmode_active) msg_scroll = FALSE; quit_more = FALSE; *** ../vim-8.2.4097/src/version.c 2022-01-15 14:16:33.938539800 +0000 --- src/version.c 2022-01-15 15:18:21.790922129 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4098, /**/ -- 'I generally avoid temptation unless I can't resist it." -- Mae West /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20220115152448.00B3C1C042A%40moolenaar.net.