0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.2988: Vim9: debugger test fails

Problem:    Vim9: debugger test fails.
Solution:   Get the debugger instructions when needed.
This commit is contained in:
Bram Moolenaar
2021-06-13 15:16:01 +02:00
parent 6d1792d408
commit c3a27bbd53
3 changed files with 13 additions and 3 deletions

View File

@@ -1801,6 +1801,7 @@ typedef enum {
CT_DEBUG // use df_instr_debug, overrules CT_PROFILE
} compiletype_T;
// Keep in sync with INSTRUCTIONS().
#ifdef FEAT_PROFILE
# define COMPILE_TYPE(ufunc) (debug_break_level > 0 ? CT_DEBUG : do_profiling == PROF_YES && (ufunc)->uf_profiling ? CT_PROFILE : CT_NONE)
#else