The window named gdb program (see :h :Termdebug
) is the one where I can give input and view output of the program being debugged.
How can I clean it between one run and another (or when I like, in general)?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityThe window named gdb program (see :h :Termdebug
) is the one where I can give input and view output of the program being debugged.
How can I clean it between one run and another (or when I like, in general)?
bwipeout
seems to be for wiping out something more than the content of the buffer. If, from within the gdb program window I hit<Ctrl-W>:bwipeout<CR>
I get a E89. If I force it with!
, the gdb program window closes. – Enlico Jul 13 '20 at 8:08