Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | feat(dap): send Disconnect if Terminated event received (#5532) | Filip Dutescu | 2023-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) | xiaoma20082008 | 2023-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. | ||
* | Fix name of channel endpoints in DAP client (#5366) | taupiqueur | 2023-01-11 |
| | |||
* | Reuse menu::Item trait in picker (#2814) | Gokul Soumya | 2022-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 binaries | Blaž Hrastnik | 2022-02-24 |
| | | | | This resolves the following issue: https://github.com/helix-editor/helix/discussions/962#discussioncomment-1580046 | ||
* | dap: Reduce amount of block_on uses | Blaž Hrastnik | 2022-02-15 |
| | |||
* | Make thread_picker non-blocking | Blaž Hrastnik | 2021-12-06 |
| | |||
* | dap: Reply to RunInTerminal | Blaž Hrastnik | 2021-12-06 |
| | |||
* | dap: Add RunInTerminal reverse request, support replying to requests | Blaž Hrastnik | 2021-12-03 |
| | |||
* | dap: All of these calls don't need &mut | Blaž Hrastnik | 2021-12-03 |
| | |||
* | Make dap_start non-blocking | Blaž Hrastnik | 2021-12-03 |
| | |||
* | dap: Split call/request in the same way LSP does | Blaž Hrastnik | 2021-12-03 |
| | |||
* | dap: Start working on runInTerminal support | Blaž Hrastnik | 2021-12-03 |
| | |||
* | dap: Rewrite breakpoints so that there's a single set maintained | Blaž Hrastnik | 2021-11-30 |
| | |||
* | dap: Get rid of excessive cloning | Blaž Hrastnik | 2021-11-07 |
| | |||
* | Use a newtype for ThreadId | Blaž Hrastnik | 2021-10-17 |
| | |||
* | Invert core -> dap dependency | Blaž Hrastnik | 2021-10-17 |
| | |||
* | fix lints | Dmitry Sharshakov | 2021-09-26 |
| | |||
* | editor: add Node.js debugger | Dmitry Sharshakov | 2021-09-26 |
| | |||
* | editor: support setExceptionBreakpoints | Dmitry Sharshakov | 2021-09-26 |
| | |||
* | lldb: use stdio transport by default | Dmitry Sharshakov | 2021-09-06 |
| | |||
* | Get breakpoint reports from debugger | Dmitry Sharshakov | 2021-09-06 |
| | |||
* | compat: make thread IDs signed | Dmitry Sharshakov | 2021-09-03 |
| | | | | Delve needs it | ||
* | Handle stderr | Blaž Hrastnik | 2021-09-03 |
| | |||
* | dap: Allow setting breakpoints before starting the adapter | Blaž Hrastnik | 2021-09-03 |
| | |||
* | dap: small TODO | Blaž Hrastnik | 2021-09-03 |
| | |||
* | dap: Extract thread_picker, make pause explicitly select a thread | Blaž Hrastnik | 2021-09-03 |
| | |||
* | dap: Extract a thread_states map | Blaž Hrastnik | 2021-09-03 |
| | |||
* | dap: refactor frame handling | Blaž Hrastnik | 2021-08-30 |
| | |||
* | dap: Remap keys, match current thread behavior from dap-mode, switch-thread | Blaž Hrastnik | 2021-08-29 |
| | |||
* | Defaults in completions, better schema | Dmitry Sharshakov | 2021-08-29 |
| | |||
* | Format | Dmitry Sharshakov | 2021-08-24 |
| | |||
* | Create new debugger config format | Dmitry Sharshakov | 2021-08-24 |
| | |||
* | refactor | Dmitry Sharshakov | 2021-08-24 |
| | |||
* | Enable variable types in DAP config | Dmitry Sharshakov | 2021-08-24 |
| | | | | We have this feature | ||
* | Check capabilities for breakpoint config | Dmitry Sharshakov | 2021-08-24 |
| | |||
* | Enable stdio transport via config | Dmitry Sharshakov | 2021-08-23 |
| | |||
* | Add debug-adapter field to languages.toml | Dmitry Sharshakov | 2021-08-23 |
| | |||
* | Add eval command | Dmitry Sharshakov | 2021-08-22 |
| | |||
* | editor: support stepIn, stepOut, next and pause commands | Dmitry Sharshakov | 2021-08-22 |
| | |||
* | dap: support stepIn, stepOut, next and pause commands | Dmitry Sharshakov | 2021-08-22 |
| | |||
* | Disable continuing when running | Dmitry Sharshakov | 2021-08-21 |
| | |||
* | refactor: handle DAP events in editor main loop | Dmitry Sharshakov | 2021-08-21 |
| | |||
* | Don't leave debugged programs running | Dmitry Sharshakov | 2021-08-21 |
| | |||
* | Add stack pointer display when stopped | Dmitry Sharshakov | 2021-08-21 |
| | |||
* | dap: Split out launch from init | Blaž Hrastnik | 2021-08-20 |
| | |||
* | Work towards a breakpoint UI | Blaž Hrastnik | 2021-08-20 |
| | |||
* | Add Default to some structs | Blaž Hrastnik | 2021-08-20 |
| | |||
* | wip | Blaž Hrastnik | 2021-08-20 |
| | |||
* | Silence TCP client messages on stdout, log them in the future | Blaž Hrastnik | 2021-08-20 |
| |