Skip to content

Commit

Permalink
package.json: allow 'rr' as a valid delve backend
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
hyangah committed Oct 28, 2021
1 parent 681be58 commit 18e3fca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Here is the list of attributes specific to Go debugging.
| Property | Launch | Attach |
| --- | --- | --- |
| `args` | Command line arguments passed to the debugged program.<br/> | <center>_n/a_</center> |
| `backend` | Backend used by delve. Maps to `dlv`'s `--backend` flag.<br/><p>Allowed Values: `"default"`, `"native"`, `"lldb"`<br/> | <center>_same as Launch_</center>|
| `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>|
| `buildFlags` | Build flags, to be passed to the Go compiler. Maps to dlv's `--build-flags` flag.<br/>(Default: `""`)<br/> | <center>_n/a_</center> |
| `coreFilePath` | Path to the core dump file to open. For use on 'core' mode only<br/>(Default: `""`)<br/> | <center>_n/a_</center> |
| `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/> |
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,8 @@
"enum": [
"default",
"native",
"lldb"
"lldb",
"rr"
],
"description": "Backend used by delve. Maps to `dlv`'s `--backend` flag."
},
Expand Down Expand Up @@ -897,7 +898,8 @@
"enum": [
"default",
"native",
"lldb"
"lldb",
"rr"
],
"description": "Backend used by delve. Maps to `dlv`'s `--backend` flag."
},
Expand Down

0 comments on commit 18e3fca

Please sign in to comment.