diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-10-26 14:28:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-10-26 14:28:32 +0200 |
commit | d99388ba8535a6fecf7d0bf7b982832c0b816062 (patch) | |
tree | 476c1942e2c2e604001ba712cfea4af8df49a0d4 /src/globals.h | |
parent | 6ce650480844bfaa5410874416b4a2e15f40b870 (diff) | |
download | vim-git-d99388ba8535a6fecf7d0bf7b982832c0b816062.tar.gz |
patch 8.0.1217: can't use remote eval to inspect vars in debug modev8.0.1217
Problem: Can't use remote eval to inspect vars in debug mode.
Solution: Don't discard the call stack in debug mode. (closes #2237, #2247)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index c9e6d6cd6..31bb1bd8b 100644 --- a/src/globals.h +++ b/src/globals.h @@ -922,9 +922,13 @@ EXTERN char_u composing_hangul_buffer[5]; * "Visual_mode" When State is NORMAL or INSERT. * "finish_op" When State is NORMAL, after typing the operator and before * typing the motion command. + * "debug_mode" Debug mode. */ EXTERN int State INIT(= NORMAL); /* This is the current state of the * command interpreter. */ +#ifdef FEAT_EVAL +EXTERN int debug_mode INIT(= FALSE); +#endif EXTERN int finish_op INIT(= FALSE);/* TRUE while an operator is pending */ EXTERN long opcount INIT(= 0); /* count for pending operator */ |