From 4fd6c483e1efe349e0ed98d61693984f764a23fb Mon Sep 17 00:00:00 2001 From: polinasok <51177946+polinasok@users.noreply.github.com> Date: Tue, 29 Jun 2021 06:15:47 -0700 Subject: [PATCH] dap: update dlv dap --help (#2558) Co-authored-by: Polina Sokolova --- Documentation/usage/dlv_dap.md | 7 +++---- cmd/dlv/cmds/commands.go | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Documentation/usage/dlv_dap.md b/Documentation/usage/dlv_dap.md index e194c6b9..3a87a251 100644 --- a/Documentation/usage/dlv_dap.md +++ b/Documentation/usage/dlv_dap.md @@ -13,10 +13,9 @@ to be launched or process to be attached to. The following modes are supported: - launch + debug (builds and launches, like 'dlv debug') - launch + test (builds and tests, like 'dlv test') - attach + local (attaches to a running process, like 'dlv attach') -The server does not yet support asynchronous request-response communication, so features -like pausing or setting breakpoints while the program is running are not yet available. -The server does not accept multiple client connections (--accept-multiclient), -a feature that is often relied on to enable --continue with remote debugging. +The server does not yet accept multiple client connections (--accept-multiclient). +While --continue is not supported, stopOnEntry launch/attach attribute can be used to control if +execution is resumed at the start of the debug session. ``` dlv dap diff --git a/cmd/dlv/cmds/commands.go b/cmd/dlv/cmds/commands.go index 1f0c8a8e..e063c728 100644 --- a/cmd/dlv/cmds/commands.go +++ b/cmd/dlv/cmds/commands.go @@ -183,10 +183,9 @@ to be launched or process to be attached to. The following modes are supported: - launch + debug (builds and launches, like 'dlv debug') - launch + test (builds and tests, like 'dlv test') - attach + local (attaches to a running process, like 'dlv attach') -The server does not yet support asynchronous request-response communication, so features -like pausing or setting breakpoints while the program is running are not yet available. -The server does not accept multiple client connections (--accept-multiclient), -a feature that is often relied on to enable --continue with remote debugging.`, +The server does not yet accept multiple client connections (--accept-multiclient). +While --continue is not supported, stopOnEntry launch/attach attribute can be used to control if +execution is resumed at the start of the debug session.`, Run: dapCmd, } rootCommand.AddCommand(dapCommand)