aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-05-25 11:14:35 +0900
committererw7 <erw7.github@gmail.com>2020-02-12 16:03:45 +0900
commitaec3d7915c55fc0b7dc73f6186cf0ae45d416d33 (patch)
tree54d83b901dd4b31126b0cb250b84a062a61c086e /runtime/doc
parentb015c4741caef37b3f89661e1d5d6a4a033b2856 (diff)
downloadrneovim-aec3d7915c55fc0b7dc73f6186cf0ae45d416d33.tar.gz
rneovim-aec3d7915c55fc0b7dc73f6186cf0ae45d416d33.tar.bz2
rneovim-aec3d7915c55fc0b7dc73f6186cf0ae45d416d33.zip
vim-patch:8.1.0091: MS-Windows: Cannot interrupt gdb when program is running
Problem: MS-Windows: Cannot interrupt gdb when program is running. Solution: Add debugbreak() and use it in the terminal debugger. Respect 'modified' in a prompt buffer. https://github.com/vim/vim/commit/4551c0a9fcdbdef52836d4852686d54b5e47fdaf
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b0b684064e..b8739ff9b3 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2084,6 +2084,7 @@ ctxsize() Number return |context-stack| size
cursor({lnum}, {col} [, {off}])
Number move cursor to {lnum}, {col}, {off}
cursor({list}) Number move cursor to position in {list}
+debugbreak({pid}) Number interrupt process being debugged
deepcopy({expr} [, {noref}]) any make a full copy of {expr}
delete({fname} [, {flags}]) Number delete the file or directory {fname}
deletebufline({expr}, {first}[, {last}])
@@ -3641,6 +3642,11 @@ exp({expr}) *exp()*
:echo exp(-1)
< 0.367879
+debugbreak({pid}) *debugbreak()*
+ Specifically used to interrupt a program being debugged. It
+ will cause process {pid} to get a SIGTRAP. Behavior for other
+ processes is undefined. See |terminal-debugger|.
+ {Sends a SIGINT to a process {pid} other than MS-Windows}
expand({expr} [, {nosuf} [, {list}]]) *expand()*
Expand wildcards and the following special keywords in {expr}.