delve/Documentation
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
..
api Documentation: correct the flag name used to configure log destination (#2464) 2021-05-04 08:39:01 +02:00
cli terminal,service: Add filtering and grouping to goroutines command (#2504) 2021-07-01 11:25:33 -07:00
installation Documentation: mention developer group in macOS install instructions (#2409) 2021-04-02 09:34:44 -07:00
internal Documentation: better documentation menu, add guide to writing a client 2018-07-02 09:35:27 -07:00
usage service/dap: Support for replay and core modes (#2367) 2021-07-21 07:38:04 -07:00
backend_test_health.md pkg/proc: fix bug where frame parameter is ignored if no goroutine (#2563) 2021-07-03 15:48:35 +02:00
EditorIntegration.md Documentation: add vimspector to list of editor plugins (#2506) 2021-05-25 10:50:07 -07:00
faq.md Doc: update KnownBugs and faq. (#2196) 2020-10-19 08:21:03 -07:00
KnownBugs.md Doc: update KnownBugs and faq. (#2196) 2020-10-19 08:21:03 -07:00
README.md documentation: add gdlv to list of alternative UIs (#774) 2017-03-24 16:10:01 -07:00

Delve Documentation

Documentation for the project will reside in this directory.