Skip to content

Commit 18e3fca

Browse files
committed
package.json: allow 'rr' as a valid delve backend
Updates #110 Change-Id: I820c96bd30bf830fe0d13497f9bcc7f200d8c9bc Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/359398 Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Polina Sokolova <polina@google.com>
1 parent 681be58 commit 18e3fca

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Here is the list of attributes specific to Go debugging.
238238
| Property | Launch | Attach |
239239
| --- | --- | --- |
240240
| `args` | Command line arguments passed to the debugged program.<br/> | <center>_n/a_</center> |
241-
| `backend` | Backend used by delve. Maps to `dlv`'s `--backend` flag.<br/><p>Allowed Values: `"default"`, `"native"`, `"lldb"`<br/> | <center>_same as Launch_</center>|
241+
| `backend` | Backend used by delve. Maps to `dlv`'s `--backend` flag.<br/><p>Allowed Values: `"default"`, `"native"`, `"lldb"`, `"rr"`<br/> | <center>_same as Launch_</center>|
242242
| `buildFlags` | Build flags, to be passed to the Go compiler. Maps to dlv's `--build-flags` flag.<br/>(Default: `""`)<br/> | <center>_n/a_</center> |
243243
| `coreFilePath` | Path to the core dump file to open. For use on 'core' mode only<br/>(Default: `""`)<br/> | <center>_n/a_</center> |
244244
| `cwd` | Workspace relative or absolute path to the working directory of the program being debugged if a non-empty value is specified. The `program` folder is used as the working directory if `cwd` is omitted or empty.<br/>(Default: `""`)<br/> | Workspace relative or absolute path to the working directory of the program being debugged. Default is the current workspace.<br/>(Default: `"${workspaceFolder}"`)<br/> |

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,8 @@
691691
"enum": [
692692
"default",
693693
"native",
694-
"lldb"
694+
"lldb",
695+
"rr"
695696
],
696697
"description": "Backend used by delve. Maps to `dlv`'s `--backend` flag."
697698
},
@@ -897,7 +898,8 @@
897898
"enum": [
898899
"default",
899900
"native",
900-
"lldb"
901+
"lldb",
902+
"rr"
901903
],
902904
"description": "Backend used by delve. Maps to `dlv`'s `--backend` flag."
903905
},

0 commit comments

Comments
 (0)