Mercurial > vim
diff src/vim9execute.c @ 24980:2cb78583fada v8.2.3027
patch 8.2.3027: Vim9: breakpoint in compiled function not always checked
Commit: https://github.com/vim/vim/commit/2ac4b2536a40e5cd75b4ff7a3d44a282d2f4f008
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 20 20:09:42 2021 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Jun 2021 20:15:02 +0200 |
parents | 2818b8108d92 |
children | 71b1e2ef0069 |
line wrap: on
line diff
--- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -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))