diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-27 15:18:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-27 15:18:56 +0200 |
commit | 4d8f476176eadfc745bcb8e143460029048f858d (patch) | |
tree | 459b6394e47d2c720755b09834bfacb699a8cb39 /runtime/doc/repeat.txt | |
parent | e65081d1b591f16dc6e380a830d87565c5eb7b03 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r-- | runtime/doc/repeat.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index c6b4b9e9f6..9e13bdb441 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -1,4 +1,4 @@ -*repeat.txt* For Vim version 8.2. Last change: 2021 Jun 11 +*repeat.txt* For Vim version 8.2. Last change: 2021 Jun 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -844,6 +844,16 @@ About the additional commands in debug mode: is reset (because it's not clear what you want to repeat). - When you want to use the Ex command with the same name, prepend a colon: ":cont", ":next", ":finish" (or shorter). + *vim9-debug* +When debugging a compiled :def function, "step" will stop before every +executed line, not every ingle nstruction. Thus it works mostly like a not +compiled function. Access to local variables is limited you can use: > + echo varname +But not much else. +When executing a command that is not a specific bytecode instruction but +executed like a normal Ex command, "step" will stop once in the compiled +context, where local variables can be inspected, and once just before +executing the command. The backtrace shows the hierarchy of function calls, e.g.: >bt ~ |