1
0
forked from aniani/vim

patch 8.0.1217: can't use remote eval to inspect vars in debug mode

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)
This commit is contained in:
Bram Moolenaar
2017-10-26 14:28:32 +02:00
parent 6ce6504808
commit d99388ba85
4 changed files with 14 additions and 4 deletions

View File

@@ -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 */