summaryrefslogtreecommitdiff
path: root/helix-view/src/handlers/dap.rs
Commit message (Collapse)AuthorAge
* Fix unwrap bug in DAP (#6786)A-Walrus2023-04-17
|
* feat(dap): send Disconnect if Terminated event received (#5532)Filip Dutescu2023-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | Send a `Disconnect` DAP request if the `Terminated` event is received. According to the specification, if the debugging session was started by as `launch`, the debuggee should be terminated alongside the session. If instead the session was started as `attach`, it should not be disposed of. This default behaviour can be overriden if the `supportTerminateDebuggee` capability is supported by the adapter, through the `Disconnect` request `terminateDebuggee` argument, as described in [the specification][discon-spec]. This also implies saving the starting command for a debug sessions, in order to decide which behaviour should be used, as well as validating the capabilities of the adapter, in order to decide what the disconnect should do. An additional change made is handling of the `Exited` event, showing a message if the exit code is different than `0`, for the user to be aware off the termination failure. [discon-spec]: https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Disconnect Closes: #4674 Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
* feat(csharp,debug): add C# debugger support (#4213)Filip Dutescu2022-10-15
|
* Make external terminal provider configurableBlaž Hrastnik2022-08-22
| | | | Fixes #1699
* Resolve clippy lints (#3307)Omnikar2022-08-04
|
* Add more context; Editor::open doesn't need to own pathSkyler Hawthorne2022-06-19
|
* Improve Readability (#2639)Ryan Russell2022-06-01
|
* lower MSRV to 1.57.0Michael Davis2022-05-23
| | | | | | | | This line uses the Display trait for io::ErrorKind which was stabilized in Rust 1.60.0. We can set MSRV all the way back to 1.57.0 by replacing it with a pretty-print. Closes #2460.
* Run debug console in windows (#2294)Alexis Kalabura2022-05-11
|
* Split off dap event handlers into helix-view to allow reuseBlaž Hrastnik2022-03-28