summaryrefslogtreecommitdiff
path: root/helix-dap
Commit message (Collapse)AuthorAge
* set Cargo feature resolver to v2 (#8917)Fomalhaut Weisszwerg2023-11-27
| | | | | | | | | | | | | | | | | | | * fix: version of Cargo feature resolver. This commit solve the ambiguity to determin the version of resolver. To get more detail, see the following two documents: - https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions - https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html * unified: Rust edition in all workspaces. Now, the Rust 2021 is available in all workspaces. * fined up: Cargo.toml by using workspace inheritance. To get more detail of the `workspace.package` table, see a following document: - https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table
* update which crate to 5.0.0 (#8902)Davide Ferrero2023-11-25
| | | | | * update which crate to 5.0.0 * update which crate to 5.0.0
* Fix unwrap bug in DAP (#6786)A-Walrus2023-04-17
|
* feat(debug): highlight current line (#5957)Filip Dutescu2023-03-29
| | | | | | | | | | | | | | | | | | Add new theme highlight keys, for setting the colour of the breakpoint character and the current line at which execution has been paused at. The two new keys are `ui.highlight.frameline` and `ui.debug.breakpoint`. Highlight according to those keys, both the line at which debugging is paused at and the breakpoint indicator. Add an indicator for the current line at which execution is paused at, themed by the `ui.debug.active` theme scope. Update various themes to showcase how the new functionality works. Better icons are dependent on #2869, and as such will be handled in the future, once it lands. Closes: #5952 Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
* feat(dap): implement Restart request (#5651)Filip Dutescu2023-03-06
| | | | | | | | | | | | | | | Add a restart debug session command, which would issue a [Restart Request][1], if the debugger supports it and a session is running. It uses the same arguments and requests used to start the initial session, when recreating it. It builds upon #5532, making use of the changes to the termination workflow of a session. [1]: https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Restart Closes: #5594 Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
* 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>
* DAP: Add request ID to request timeout message (#6018)xiaoma200820082023-02-16
| | | | This improves error logging for dap requests. Without the ID it's hard to know which request is the one that timed out.
* build(deps): bump which from 4.3.0 to 4.4.0 (#5655)dependabot[bot]2023-01-23
| | | | | | | | | | | | | | | | | Bumps [which](https://github.com/harryfei/which-rs) from 4.3.0 to 4.4.0. - [Release notes](https://github.com/harryfei/which-rs/releases) - [Commits](https://github.com/harryfei/which-rs/compare/4.3.0...4.4.0) --- updated-dependencies: - dependency-name: which dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix name of channel endpoints in DAP client (#5366)taupiqueur2023-01-11
|
* Resolve a bunch of upcoming clippy lintsBlaž Hrastnik2022-11-04
|
* feat(csharp,debug): add C# debugger support (#4213)Filip Dutescu2022-10-15
|
* DAP: Make `cwd` required in RunTerminalArgumentsMichael Davis2022-07-05
| | | | | The spec has `cwd` in `RunInTerminalRequestArguments` as non-optional: https://microsoft.github.io/debug-adapter-protocol/specification#Reverse_Requests_RunInTerminal
* DAP: Skip serializing `Option`s when `None`Michael Davis2022-07-05
| | | | | | | | | | | | | DAP follows the same strict TypeScript interface syntax as LSP which states: > The document uses TypeScript interfaces in strict mode to describe > these. This means for example that a `null` value has to be explicitly > listed and that a mandatory property must be listed even if a falsify > value might exist. So we have to skip serializing any fields that end in `?` instead of passing `null`.
* Reuse menu::Item trait in picker (#2814)Gokul Soumya2022-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor menu::Item to accomodate external state Will be useful for storing editor state when reused by pickers. * Add some type aliases for readability * Reuse menu::Item trait in picker This opens the way for merging the menu and picker code in the future, since a picker is essentially a menu + prompt. More excitingly, this change will also allow aligning items in the picker, which would be useful (for example) in the command palette for aligning the descriptions to the left and the keybinds to the right in two separate columns. The item formatting of each picker has been kept as is, even though there is room for improvement now that we can format the data into columns, since that is better tackled in a separate PR. * Rename menu::Item::EditorData to Data * Call and inline filter_text() in sort_text() completion * Rename diagnostic picker's Item::Data
* Use which to resolve lsp/dap binariesBlaž Hrastnik2022-02-24
| | | | This resolves the following issue: https://github.com/helix-editor/helix/discussions/962#discussioncomment-1580046
* dap: Reduce amount of block_on usesBlaž Hrastnik2022-02-15
|
* Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2022-02-13
|
* Make thread_picker non-blockingBlaž Hrastnik2021-12-06
|
* dap: Reply to RunInTerminalBlaž Hrastnik2021-12-06
|
* dap: Add RunInTerminal reverse request, support replying to requestsBlaž Hrastnik2021-12-03
|
* dap: All of these calls don't need &mutBlaž Hrastnik2021-12-03
|
* Make dap_start non-blockingBlaž Hrastnik2021-12-03
|
* dap: Split call/request in the same way LSP doesBlaž Hrastnik2021-12-03
|
* dap: Start working on runInTerminal supportBlaž Hrastnik2021-12-03
|
* dap: Rewrite breakpoints so that there's a single set maintainedBlaž Hrastnik2021-11-30
|
* dap: Consistently rename type as tyBlaž Hrastnik2021-11-07
|
* dap: Remove Deref for DebuggerCapabilitiesBlaž Hrastnik2021-11-07
| | | | Looks like a mistake
* dap: Drop examplesBlaž Hrastnik2021-11-07
|
* dap: Get rid of excessive cloningBlaž Hrastnik2021-11-07
|
* dap: Bump helix-coreBlaž Hrastnik2021-11-06
|
* Merge branch 'master' into debugBlaž Hrastnik2021-11-06
|
* dap: Fix examplesBlaž Hrastnik2021-10-17
|
* Use a newtype for ThreadIdBlaž Hrastnik2021-10-17
|
* Invert core -> dap dependencyBlaž Hrastnik2021-10-17
|
* Port over parsing improvements from the LSPBlaž Hrastnik2021-10-17
| | | | | We need to terminate if we ever read 0 bytes which indicates closed stream.
* fix lintsDmitry Sharshakov2021-09-26
|
* editor: add Node.js debuggerDmitry Sharshakov2021-09-26
|
* editor: support setExceptionBreakpointsDmitry Sharshakov2021-09-26
|
* lldb: use stdio transport by defaultDmitry Sharshakov2021-09-06
|
* Get breakpoint reports from debuggerDmitry Sharshakov2021-09-06
|
* examples: ensure target stopped by waiting for enter from userDmitry Sharshakov2021-09-04
|
* compat: make thread IDs signedDmitry Sharshakov2021-09-03
| | | | Delve needs it
* Handle stderrBlaž Hrastnik2021-09-03
|
* dap: Allow setting breakpoints before starting the adapterBlaž Hrastnik2021-09-03
|
* dap: small TODOBlaž Hrastnik2021-09-03
|
* dap: Extract thread_picker, make pause explicitly select a threadBlaž Hrastnik2021-09-03
|
* dap: Extract a thread_states mapBlaž Hrastnik2021-09-03
|
* compat: change lldb to lldb-vscodeDmitry Sharshakov2021-08-30
| | | | This should be preferred ID, although now lldb-vscode works with any
* dap: refactor frame handlingBlaž Hrastnik2021-08-30
|
* dap: Remap keys, match current thread behavior from dap-mode, switch-threadBlaž Hrastnik2021-08-29
|