diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-05-18 00:08:47 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-05-18 00:08:47 -0400 |
commit | a69c3fbc8abe492955d9e92e39e0d0dc421b1ec4 (patch) | |
tree | 5bf2389beccb715d6768767ce36e8df1dba2a22d /runtime | |
parent | c9b1ad3a578ccc42c1b5a6ff58166590c349eed6 (diff) | |
parent | 91796f70edf7d6f89742c114d1825dae65eca7e1 (diff) | |
download | rneovim-a69c3fbc8abe492955d9e92e39e0d0dc421b1ec4.tar.gz rneovim-a69c3fbc8abe492955d9e92e39e0d0dc421b1ec4.tar.bz2 rneovim-a69c3fbc8abe492955d9e92e39e0d0dc421b1ec4.zip |
Merge pull request #4734 from jbradaric/vim-7.4.1102
vim-patch:7.4.1102, 7.4.1110, 7.4.1832
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/repeat.txt | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index b2e935eb3f..343d3e62cf 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -1,4 +1,4 @@ -*repeat.txt* For Vim version 7.4. Last change: 2015 Apr 13 +*repeat.txt* For Vim version 7.4. Last change: 2016 Jan 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -467,16 +467,44 @@ Additionally, these commands can be used: finish Finish the current script or user function and come back to debug mode for the command after the one that sourced or called it. + *>bt* + *>backtrace* + *>where* + backtrace Show the call stacktrace for current debugging session. + bt + where + *>frame* + frame N Goes to N backtrace level. + and - signs make movement + relative. E.g., ":frame +3" goes three frames up. + *>up* + up Goes one level up from call stacktrace. + *>down* + down Goes one level down from call stacktrace. About the additional commands in debug mode: - There is no command-line completion for them, you get the completion for the normal Ex commands only. -- You can shorten them, up to a single character: "c", "n", "s" and "f". +- You can shorten them, up to a single character, unless more then one command + starts with the same letter. "f" stands for "finish", use "fr" for "frame". - Hitting <CR> will repeat the previous one. When doing another command, this 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). +The backtrace shows the hierarchy of function calls, e.g.: + >bt ~ + 3 function One[3] ~ + 2 Two[3] ~ + ->1 Three[3] ~ + 0 Four ~ + line 1: let four = 4 ~ + +The "->" points to the current frame. Use "up", "down" and "frame N" to +select another frame. + +In the current frame you can evaluate the local function variables. There is +no way to see the command at the current line yet. + DEFINING BREAKPOINTS *:breaka* *:breakadd* |