1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2021-06-20 20:09:42 +02:00
parent 4f8f54280f
commit 2ac4b2536a
3 changed files with 27 additions and 0 deletions

View File

@@ -229,6 +229,9 @@ call_dfunc(
}
#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))