Mercurial > vim
diff runtime/doc/repeat.txt @ 25056:43593a5d873f
Update runtime files
Commit: https://github.com/vim/vim/commit/4d8f476176eadfc745bcb8e143460029048f858d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 27 15:18:56 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 27 Jun 2021 15:30:05 +0200 |
parents | fd37be6dc258 |
children | 84c7dc0fdcd2 |
line wrap: on
line diff
--- 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 m 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 ~