-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package.json: add support for replay and core debug modes #1268
Conversation
This PR (HEAD: bc89abb) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
Message from Hyang-Ah Hana Kim: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
This PR (HEAD: 6075579) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 9520700) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 3ea3d73) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 0d57463) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: c0af810) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: edf0858) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 366fa88) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 3c2f52e) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 9134201) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: ec0b234) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: d85f75a) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 2a608ca) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
5ba1a17
to
26ecf7b
Compare
This PR (HEAD: 39e88b2) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
Message from Hyang-Ah Hana Kim: Patch Set 27: Run-TryBot+1 Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
Message from kokoro: Patch Set 27: Kokoro presubmit build starting for golang/vscode-go/gcp_ubuntu/presubmit Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
Message from kokoro: Patch Set 27: TryBot-Result+1 Kokoro presubmit build finished with status: SUCCESS Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
Message from Hyang-Ah Hana Kim: Patch Set 28: Commit message was updated. Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
Message from Hyang-Ah Hana Kim: Patch Set 28: Code-Review+2 Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
Message from Suzy Mueller: Patch Set 29: Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
Message from Hyang-Ah Hana Kim: Patch Set 30: Published edit on patch set 29. Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
Message from Hyang-Ah Hana Kim: Patch Set 30: Run-TryBot+1 Code-Review+2 Trust+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
39e88b2
to
e055352
Compare
This PR (HEAD: e055352) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/vscode-go/+/298569 to see it. Tip: You can toggle comments from me using the |
Message from Hyang-Ah Hana Kim: Patch Set 31: Run-TryBot+1 Code-Review+2 Trust+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
## New launch modes: replay and core The following modes are added: - **replay**: Replays an rr trace, allowing backwards flows (reverse continue and stepback). Requires a `traceDirPath` property on `launch.json` pointing to a valid rr trace directory. Equivalent to `dlv replay <tracedir>` command. - **core**: Replays a core dump file, showing its callstack and the file matching the callsite. Requires a `coreFilePath` property on `launch.json` pointing to a valid coredump file. Equivalent to `dlv core <exe> <corefile>` command. With the new dap service, most of the heavy work will go to delve, so this PR mainly involves getting around passing the corresponding launchArgs to delve. It´s service counterpart lies on go-delve/delve#2367 Change-Id: Idc21f27152387c07c844fa471b89d95f38c2545b GitHub-Last-Rev: e055352 GitHub-Pull-Request: #1268 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/298569 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Trust: Hyang-Ah Hana Kim <[email protected]> Trust: Suzy Mueller <[email protected]>
Message from kokoro: Patch Set 31: Kokoro presubmit build starting for golang/vscode-go/gcp_ubuntu/presubmit Please don’t reply on this GitHub thread. Visit golang.org/cl/298569. |
This PR is being closed because golang.org/cl/298569 has been merged. |
The following modes are added: - **replay**: Replays an rr trace, allowing backwards flows (reverse continue and stepback). Requires a `traceDirPath` property on `launch.json` pointing to a valid rr trace directory. Equivalent to `dlv replay <tracedir>` command. - **core**: Replays a core dump file, showing its callstack and the file matching the callsite. Requires a `coreFilePath` property on `launch.json` pointing to a valid coredump file. Equivalent to `dlv core <exe> <corefile>` command. With the new dap service, most of the heavy work will go to delve, so this PR mainly involves getting around passing the corresponding launchArgs to delve. It´s service counterpart lies on go-delve/delve#2367 GitHub-Last-Rev: e055352 GitHub-Pull-Request: #1268 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/298569 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Trust: Hyang-Ah Hana Kim <[email protected]> Trust: Suzy Mueller <[email protected]> Change-Id: I7b6b3b7b9d7c30d552a4401892492c74ec2e3023 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/346092 Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Suzy Mueller <[email protected]> TryBot-Result: kokoro <[email protected]>
New launch modes: replay and core
The following modes are added:
traceDirPath
property onlaunch.json
pointing to a valid rr trace directory.Equivalent to
dlv replay <tracedir>
command.coreFilePath
property onlaunch.json
pointing to a valid coredump file.Equivalent to
dlv core <exe> <corefile>
command.With the new dap service, most of the heavy work will go to delve, so this PR mainly involves getting around passing the corresponding launchArgs to delve. It´s service counterpart lies on go-delve/delve#2367
Fixes #168
Fixes #1243
Updates #110