Skip to content

Commit 34504fd

Browse files
committed
docs/debugging.md: mention dlv command available in DEBUG CONSOLE
Change-Id: I146d09847605b8fd7946837c86fa5db0360aeb35 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/370877 Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Trust: Nooras Saba‎ <[email protected]> Reviewed-by: Polina Sokolova <[email protected]>
1 parent f1dc083 commit 34504fd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/debugging.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ See [VS Code’s Debug Documentation on Breakpoints](https://code.visualstudio.c
169169
<img src="images/function-breakpoint.gif" alt="Function breakpoint" width="75%">
170170
</p>
171171

172-
* **Logpoints**: a [logpoint](https://code.visualstudio.com/docs/editor/debugging#_logpoints) is a variant of breakpoint that does not 'break', but instead logs a message to Debug Console and continues execution. Expressions within `{}` are interpolated. For the list of acceptable expressions and syntax, see [Delve's documentation](https://github.com/go-delve/delve/blob/master/Documentation/cli/expr.md#expressions).
172+
* **Logpoints**: a [logpoint](https://code.visualstudio.com/docs/editor/debugging#_logpoints) is a variant of breakpoint that does not 'break', but instead logs a message to DEBUG CONSOLE and continues execution. Expressions within `{}` are interpolated. For the list of acceptable expressions and syntax, see [Delve's documentation](https://github.com/go-delve/delve/blob/master/Documentation/cli/expr.md#expressions).
173173

174174
### Data Inspection
175175

@@ -235,6 +235,10 @@ When the program stops due to exception, panic, or bad access error, the CALL ST
235235

236236
<p align="center"><img src="images/panicinfo.png" alt="Panic" width="75%"></p>
237237

238+
## `dlv` command from DEBUG CONSOLE
239+
240+
DEBUG CONSOLE accepts commands that allow users to dynamically inspect/change debug configuration, or inspect the list of source code compiled in the debugged binary. Use `dlv help` and `dlv config -list` from the DEBUG CONSOLE panel to see the list of supported commands and dynamically adjustable settings.
241+
238242
## Configuration
239243

240244
### Launch.json Attributes

0 commit comments

Comments
 (0)