Mercurial > vim
diff runtime/doc/terminal.txt @ 13051:a6d3e2081544
Update runtime files
commit https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 17 17:17:07 2017 +0100
Update runtime files
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Dec 2017 17:30:05 +0100 |
parents | 32531a3eab1f |
children | 656ab57d1ddc |
line wrap: on
line diff
--- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 8.0. Last change: 2017 Nov 17 +*terminal.txt* For Vim version 8.0. Last change: 2017 Dec 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -370,12 +370,14 @@ Starting ~ Load the plugin with this command: > packadd termdebug < *:Termdebug* -To start debugging use `:TermDebug` folowed by the command name, for example: > +To start debugging use `:Termdebug` followed by the command name, for example: > :Termdebug vim This opens two windows: + gdb window A terminal window in which "gdb vim" is executed. Here you can directly interact with gdb. The buffer name is "!gdb". + program window A terminal window for the executed program. When "run" is used in gdb the program I/O will happen in this window, so that it does not interfere with controlling gdb. The buffer @@ -476,14 +478,15 @@ In the window showing the source code th :Continue execute the gdb "continue" command :Stop interrupt the program -The plugin adds a window toolbar with these entries: +If 'mouse' is set the plugin adds a window toolbar with these entries: Step :Step Next :Over Finish :Finish Cont :Continue Stop :Stop Eval :Evaluate -This way you can use the mouse to perform the most common commands. +This way you can use the mouse to perform the most common commands. You need +to have the 'mouse' option set to enable mouse clicks. Inspecting variables ~