Skip to content

Commit ed3c0a2

Browse files
authored
Merge pull request neovim#14314 from janlazo/vim-8.2.2720
vim-patch:8.0.{1505,1511},8.2.{1304,1305,1393,1508,1791,2720}
2 parents 48e8057 + d99ce54 commit ed3c0a2

File tree

8 files changed

+1276
-244
lines changed

8 files changed

+1276
-244
lines changed

runtime/doc/repeat.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,19 @@ DEFINING BREAKPOINTS
804804
< Note that this only works for commands that are executed when
805805
sourcing the file, not for a function defined in that file.
806806

807+
:breaka[dd] expr {expression}
808+
Sets a breakpoint, that will break whenever the {expression}
809+
evaluates to a different value. Example: >
810+
:breakadd expr g:lnum
811+
812+
< Will break, whenever the global variable lnum changes.
813+
Note if you watch a |script-variable| this will break
814+
when switching scripts, since the script variable is only
815+
valid in the script where it has been defined and if that
816+
script is called from several other scripts, this will stop
817+
whenever that particular variable will become visible or
818+
unaccessible again.
819+
807820
The [lnum] is the line number of the breakpoint. Vim will stop at or after
808821
this line. When omitted line 1 is used.
809822

0 commit comments

Comments
 (0)