comparison src/vim9.h @ 24895:e61a2085c89b v8.2.2985

patch 8.2.2985: Vim9: a compiled function cannot be debugged Commit: https://github.com/vim/vim/commit/e99d422bbd3e47620915bf89671673f0711671b4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 13 14:01:26 2021 +0200 patch 8.2.2985: Vim9: a compiled function cannot be debugged Problem: Vim9: a compiled function cannot be debugged. Solution: Add initial debugging support.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jun 2021 14:15:04 +0200
parents a8d64f1a223b
children fd6e5c816654
comparison
equal deleted inserted replaced
24894:6270bfeab91f 24895:e61a2085c89b
165 ISN_CMDMOD, // set cmdmod 165 ISN_CMDMOD, // set cmdmod
166 ISN_CMDMOD_REV, // undo ISN_CMDMOD 166 ISN_CMDMOD_REV, // undo ISN_CMDMOD
167 167
168 ISN_PROF_START, // start a line for profiling 168 ISN_PROF_START, // start a line for profiling
169 ISN_PROF_END, // end a line for profiling 169 ISN_PROF_END, // end a line for profiling
170
171 ISN_DEBUG, // check for debug breakpoint
170 172
171 ISN_UNPACK, // unpack list into items, uses isn_arg.unpack 173 ISN_UNPACK, // unpack list into items, uses isn_arg.unpack
172 ISN_SHUFFLE, // move item on stack up or down 174 ISN_SHUFFLE, // move item on stack up or down
173 ISN_DROP, // pop stack and discard value 175 ISN_DROP, // pop stack and discard value
174 176
451 int df_instr_count; // size of "df_instr" 453 int df_instr_count; // size of "df_instr"
452 #ifdef FEAT_PROFILE 454 #ifdef FEAT_PROFILE
453 isn_T *df_instr_prof; // like "df_instr" with profiling 455 isn_T *df_instr_prof; // like "df_instr" with profiling
454 int df_instr_prof_count; // size of "df_instr_prof" 456 int df_instr_prof_count; // size of "df_instr_prof"
455 #endif 457 #endif
458 isn_T *df_instr_debug; // like "df_instr" with debugging
459 int df_instr_debug_count; // size of "df_instr_debug"
456 460
457 int df_varcount; // number of local variables 461 int df_varcount; // number of local variables
458 int df_has_closure; // one if a closure was created 462 int df_has_closure; // one if a closure was created
459 }; 463 };
460 464