@@ -2108,6 +2108,7 @@ cscope_connection([{num}, {dbpath} [, {prepend}]])
21082108cursor({lnum} , {col} [, {off} ])
21092109 Number move cursor to {lnum} , {col} , {off}
21102110cursor({list} ) Number move cursor to position in {list}
2111+ debugbreak({pid} ) Number interrupt process being debugged
21112112deepcopy({expr} [, {noref} ]) any make a full copy of {expr}
21122113delete({fname} [, {flags} ]) Number delete the file or directory {fname}
21132114deletebufline({expr} , {first} [, {last} ])
@@ -3480,6 +3481,11 @@ cursor({list})
34803481 position within a <Tab> or after the last character.
34813482 Returns 0 when the position could be set, -1 otherwise.
34823483
3484+ debugbreak({pid} ) *debugbreak()*
3485+ Specifically used to interrupt a program being debugged. It
3486+ will cause process {pid} to get a SIGTRAP. Behavior for other
3487+ processes is undefined. See | terminal-debugger | .
3488+ {only available on MS-Windows}
34833489
34843490deepcopy({expr} [, {noref} ]) *deepcopy()* *E698*
34853491 Make a copy of {expr} . For Numbers and Strings this isn't
@@ -5488,6 +5494,20 @@ job_start({command} [, {options}]) *job_start()*
54885494 The returned Job object can be used to get the status with
54895495 | job_status() | and stop the job with | job_stop() | .
54905496
5497+ Note that the job object will be deleted if there are no
5498+ references to it. This closes the stdin and stderr, which may
5499+ cause the job to fail with an error. To avoid this keep a
5500+ reference to the job. Thus instead of: >
5501+ call job_start('my-command')
5502+ < use: >
5503+ let myjob = job_start('my-command')
5504+ < and unlet "myjob" once the job is not needed or is past the
5505+ point where it would fail (e.g. when it prints a message on
5506+ startup). Keep in mind that variables local to a function
5507+ will cease to exist if the function returns. Use a
5508+ script-local variable if needed: >
5509+ let s:myjob = job_start('my-command')
5510+ <
54915511 {options} must be a Dictionary. It can contain many optional
54925512 items, see | job-options | .
54935513
0 commit comments