diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-20 19:28:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-20 19:28:14 +0200 |
commit | 4f8f54280fa728b7d5a63b67d02b60a3b3dce543 (patch) | |
tree | 962b41838e72571485245ed05d17dab53e0b5bfd /src/structs.h | |
parent | 0d5e1ec37fbe75e18acba6f650c59bf91063108c (diff) | |
download | vim-git-4f8f54280fa728b7d5a63b67d02b60a3b3dce543.tar.gz |
patch 8.2.3026: Vim9: cannot set breakpoint in compiled functionv8.2.3026
Problem: Vim9: cannot set breakpoint in compiled function.
Solution: Check for breakpoint when calling a function.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index d62b10f37..ae2c0b850 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1629,6 +1629,11 @@ typedef struct # endif garray_T uf_lines; // function lines + + int uf_debug_tick; // when last checked for a breakpoint in this + // function. + int uf_has_breakpoint; // TRUE when a breakpoint has been set in + // this function. # ifdef FEAT_PROFILE int uf_profiling; // TRUE when func is being profiled int uf_prof_initialized; |