Skip to content

Commit 9e2b680

Browse files
committed
doc: update documentation for fatih#2948
Update documentation to reflect changes made in fatih#2948 that changed when debugging commands and mappings are made available.
1 parent faa8bdb commit 9e2b680

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/vim-go.txt

+4-5
Original file line numberDiff line numberDiff line change
@@ -2248,8 +2248,10 @@ the `dlv` process, or |:GoDebugRestart| to recompile the code.
22482248
*go-debug-commands*
22492249
DEBUGGER COMMANDS~
22502250

2251-
Only |:GoDebugStart| and |:GoDebugBreakpoint| are available by default; the
2252-
rest of the commands and mappings become available after starting debug mode.
2251+
Only |:GoDebugStart|, `:GoDebugTest`, and |:GoDebugBreakpoint| are available
2252+
by default. `:GoDebugContinue` becomes available after running `:GoDebugStart`
2253+
or `:GoDebugTest`. The rest of the commands and mappings become available after
2254+
executing `:GoDebugContinue`.
22532255

22542256
*:GoDebugStart*
22552257
:GoDebugStart [pkg] [program-args]
@@ -2316,7 +2318,6 @@ rest of the commands and mappings become available after starting debug mode.
23162318

23172319
Advance execution by one line, also called "step over" by some other
23182320
debuggers.
2319-
It will behave as |:GoDebugContinue| if the program isn't started.
23202321

23212322
Mapped to <F10> by default.
23222323

@@ -2326,7 +2327,6 @@ rest of the commands and mappings become available after starting debug mode.
23262327

23272328
Advance execution by one step, stopping at the next line of code that will
23282329
be executed (regardless of location).
2329-
It will behave as |:GoDebugContinue| if the program isn't started.
23302330

23312331
Mapped to <F11> by default.
23322332

@@ -2337,7 +2337,6 @@ rest of the commands and mappings become available after starting debug mode.
23372337

23382338
Run all the code in the current function and halt when the function
23392339
returns ("step out of the current function").
2340-
It will behave as |:GoDebugContinue| if the program isn't started.
23412340

23422341
*:GoDebugSet*
23432342
:GoDebugSet {var} {value}

0 commit comments

Comments
 (0)