Skip to content

Commit

Permalink
doc: update documentation for #2948
Browse files Browse the repository at this point in the history
Update documentation to reflect changes made in #2948 that changed when
debugging commands and mappings are made available.
  • Loading branch information
bhcleek committed Jul 6, 2020
1 parent faa8bdb commit 9e2b680
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2248,8 +2248,10 @@ the `dlv` process, or |:GoDebugRestart| to recompile the code.
*go-debug-commands*
DEBUGGER COMMANDS~

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

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

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

Mapped to <F10> by default.

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

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

Mapped to <F11> by default.

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

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

*:GoDebugSet*
:GoDebugSet {var} {value}
Expand Down

0 comments on commit 9e2b680

Please sign in to comment.