comparison runtime/doc/terminal.txt @ 25619:29ec2c198c8d

Update runtime files Commit: https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 14 21:25:52 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 Aug 2021 21:30:04 +0200
parents 5b37a0bf7e3a
children d4faa2c5211b
comparison
equal deleted inserted replaced
25618:b5765575dc5a 25619:29ec2c198c8d
1 *terminal.txt* For Vim version 8.2. Last change: 2021 Feb 13 1 *terminal.txt* For Vim version 8.2. Last change: 2021 Aug 10
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1350 *:Source* jump to the window with the source code, create it if there 1350 *:Source* jump to the window with the source code, create it if there
1351 isn't one 1351 isn't one
1352 *:Asm* jump to the window with the disassembly, create it if there 1352 *:Asm* jump to the window with the disassembly, create it if there
1353 isn't one 1353 isn't one
1354 1354
1355 Events ~
1356 *termdebug-events*
1357 Four autocommands can be used: >
1358 au User TermdebugStartPre echomsg 'debugging starting'
1359 au User TermdebugStartPost echomsg 'debugging started'
1360 au User TermdebugStopPre echomsg 'debugging stopping'
1361 au User TermdebugStopPost echomsg 'debugging stopped'
1362 <
1363 *TermdebugStartPre*
1364 TermdebugStartPre Before starting debugging.
1365 Not triggered if the debugger is already
1366 running or |g:termdebugger| cannot be
1367 executed.
1368 *TermdebugStartPost*
1369 TermdebugStartPost After debugging has initialized.
1370 If a "!" bang is passed to `:Termdebug` or
1371 `:TermdebugCommand` the event is triggered
1372 before running the provided command in gdb.
1373 *TermdebugStopPre*
1374 TermdebugStopPre Before debugging ends, when gdb is terminated,
1375 most likely after issuing a "quit" command in
1376 the gdb window.
1377 *TermdebugStopPost*
1378 TermdebugStopPost After debugging has ended, gdb-related windows
1379 are closed, debug buffers wiped out and
1380 the state before the debugging was restored.
1381
1355 1382
1356 Prompt mode ~ 1383 Prompt mode ~
1357 *termdebug-prompt* 1384 *termdebug-prompt*
1358 When the |+terminal| feature is not supported and on MS-Windows, gdb will run 1385 When the |+terminal| feature is not supported and on MS-Windows, gdb will run
1359 in a buffer with 'buftype' set to "prompt". This works slightly differently: 1386 in a buffer with 'buftype' set to "prompt". This works slightly differently:
1394 communication channel. 1421 communication channel.
1395 1422
1396 1423
1397 Customizing ~ 1424 Customizing ~
1398 1425
1399 GDB command *termdebug-customizing* 1426 GDB command *termdebug-customizing*
1400 1427 *g:termdebugger*
1401 To change the name of the gdb command, set the "termdebugger" variable before 1428 To change the name of the gdb command, set the "g:termdebugger" variable before
1402 invoking `:Termdebug`: > 1429 invoking `:Termdebug`: >
1403 let termdebugger = "mygdb" 1430 let g:termdebugger = "mygdb"
1404 < *gdb-version* 1431 < *gdb-version*
1405 Only debuggers fully compatible with gdb will work. Vim uses the GDB/MI 1432 Only debuggers fully compatible with gdb will work. Vim uses the GDB/MI
1406 interface. The "new-ui" command requires gdb version 7.12 or later. if you 1433 interface. The "new-ui" command requires gdb version 7.12 or later. if you
1407 get this error: 1434 get this error:
1408 Undefined command: "new-ui". Try "help".~ 1435 Undefined command: "new-ui". Try "help".~