summaryrefslogtreecommitdiffstats
path: root/runtime/doc/terminal.txt
diff options
context:
space:
mode:
authorlaburnumT <flo.striker@gmail.com>2023-05-13 16:29:15 +0200
committerChristian Brabandt <cb@256bit.org>2023-08-20 20:00:27 +0200
commit9f29621415146abc046471440515e9e34f3e57a1 (patch)
tree4af74897b346f882cbf73013120814b31aa7ac11 /runtime/doc/terminal.txt
parent72904d5fda0a1bc78f4bc9080c158226e6e90d5c (diff)
Runtime(termdebug): Add support to view local and argument variables
closes: 12403 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/terminal.txt')
-rw-r--r--runtime/doc/terminal.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index f03570497d..5e4ad1fcfe 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -1384,6 +1384,9 @@ Other commands ~
isn't one
*:Asm* jump to the window with the disassembly, create it if there
isn't one
+ *:Var* jump to the window with the local and argument variables,
+ create it if there isn't one. This window updates whenever the
+ program is stopped
Events ~
*termdebug-events*
@@ -1460,6 +1463,15 @@ If there is no g:termdebug_config you can use: >
let g:termdebug_disasm_window = 15
Any value greater than 1 will set the Asm window height to that value.
+ *termdebug_variables_window*
+If you want the Var window shown by default, set the flag to 1.
+the "variables_window_height" entry can be used to set the window height: >
+ let g:termdebug_config['variables_window'] = 1
+ let g:termdebug_config['variables_window_height'] = 15
+If there is no g:termdebug_config you can use: >
+ let g:termdebug_variables_window = 15
+Any value greater than 1 will set the Var window height to that value.
+
Communication ~
*termdebug-communication*
There is another, hidden, buffer, which is used for Vim to communicate with