закешированный к нам в целях безопасности дебаггер
Go to file
Luis Gabriel Gomez 69615b3604
service/dap: Support for replay and core modes (#2367)
This PR aims to add support for rr replay and core actions from the DAP layer. This basically encloses the following:
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.

Dependencies

To achieve this the following additional changes were made:

    Implement the onStepBackRequest and onReverseContinueRequest methods on service/dap
    Adapt onLaunchRequest with the requried validations and logic for these new modes
    Use CapabilitiesEvent responses to enable the StepBack controls on the supported scenarios (see dicussion here)
    Add the corresponding launch.json support on vs code: 

Support for replay and core modes golang/vscode-go#1268
2021-07-21 07:38:04 -07:00
_fixtures Go 1.17 support branch (#2451) 2021-07-08 08:47:53 -07:00
_scripts TeamCity: add go1.17 to test matrix, disable go-tip builds (#2576) 2021-07-12 09:48:11 -07:00
.teamcity Make teamcity ui settings readonly (#2608) 2021-07-21 07:26:13 -07:00
assets Add high-res images 2015-05-19 12:25:26 -05:00
cmd/dlv service/dap: Support for replay and core modes (#2367) 2021-07-21 07:38:04 -07:00
Documentation service/dap: Support for replay and core modes (#2367) 2021-07-21 07:38:04 -07:00
pkg service/dap: Support for replay and core modes (#2367) 2021-07-21 07:38:04 -07:00
service service/dap: Support for replay and core modes (#2367) 2021-07-21 07:38:04 -07:00
vendor go.mod: update google/go-dap to 0.5.0 (#2460) 2021-05-04 12:33:50 -07:00
.cirrus.yml *: Update freebsd image 2020-04-08 11:40:24 +02:00
.deepsource.toml Continuous Integration cleanup (#2369) 2021-03-08 09:35:56 -08:00
.gitattributes makefile: use git's $Id$ instead of setting ver.Build in makefile (#807) 2017-04-28 10:14:33 -07:00
.gitignore *: Add .vscode to .gitignore (#2554) 2021-06-26 09:16:35 +02:00
CHANGELOG.md *: Release 1.7.0 (#2591) 2021-07-16 15:31:52 +02:00
CONTRIBUTING.md README: Remove gitter chat link. 2020-01-21 09:06:53 -08:00
go.mod go.mod: update google/go-dap to 0.5.0 (#2460) 2021-05-04 12:33:50 -07:00
go.sum go.mod: update google/go-dap to 0.5.0 (#2460) 2021-05-04 12:33:50 -07:00
ISSUE_TEMPLATE.md misc: Include issue template for GitHub 2016-03-03 10:40:14 -08:00
LICENSE Add License and README 2014-05-03 15:31:52 -05:00
Makefile *: mv scripts _scripts 2020-03-28 20:28:51 +01:00
README.md Change TeamCity test matrix and drop appveyor/travis-ci configurations (#2315) 2021-01-25 20:48:27 -08:00

Delve

license GoDoc Build Status

The GitHub issue tracker is for bugs only. Please use the developer mailing list for any feature proposals and discussions.

About Delve

Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you're using a debugger, things aren't going your way. With that in mind, Delve should stay out of your way as much as possible.