changeset 25040:7901481ea280 v8.2.3057

patch 8.2.3057: Vim9: debugger test fails with normal features and +terminal Commit: https://github.com/vim/vim/commit/307dec4567e0f64a7a4cfc2d5302d2aba26db775 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 26 21:21:03 2021 +0200 patch 8.2.3057: Vim9: debugger test fails with normal features and +terminal Problem: Vim9: debugger test fails with normal features and +terminal. (Dominique Pell?) Solution: Adjust the INSTRUCTIONS macro. (closes #8460)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Jun 2021 21:30:03 +0200
parents 54c7c9690eaa
children a0a9b58c07fc
files src/version.c src/vim9.h
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3057,
+/**/
     3056,
 /**/
     3055,
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -518,7 +518,7 @@ extern garray_T def_functions;
 		: (dfunc)->df_instr))
 #else
 # define INSTRUCTIONS(dfunc) \
-	(debug_break_level > 0 \
+	(debug_break_level > 0 || dfunc->df_ufunc->uf_has_breakpoint \
 		? (dfunc)->df_instr_debug \
 		: (dfunc)->df_instr)
 #endif