1
0
forked from aniani/vim

patch 8.2.3026: Vim9: cannot set breakpoint in compiled function

Problem:    Vim9: cannot set breakpoint in compiled function.
Solution:   Check for breakpoint when calling a function.
This commit is contained in:
Bram Moolenaar
2021-06-20 19:28:14 +02:00
parent 0d5e1ec37f
commit 4f8f54280f
7 changed files with 71 additions and 6 deletions

View File

@@ -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;