patch 8.2.3027: Vim9: breakpoint in compiled function not always checked
Problem: Vim9: breakpoint in compiled function not always checked.
Solution: Check for breakpoint when calling compiled function from compiled
function.
diff --git a/src/vim9execute.c b/src/vim9execute.c
index 8b817e4..dfceb27 100644
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -229,6 +229,9 @@
}
#endif
+ // Update uf_has_breakpoint if needed.
+ update_has_breakpoint(ufunc);
+
// When debugging and using "cont" switches to the not-debugged
// instructions, may need to still compile them.
if ((func_needs_compiling(ufunc, COMPILE_TYPE(ufunc))