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 |
| | |||
* | Resolve a bunch of upcoming clippy lints | Blaž Hrastnik | 2022-11-04 |
| | |||
* | feat(csharp,debug): add C# debugger support (#4213) | Filip Dutescu | 2022-10-15 |
| | |||
* | DAP: Make `cwd` required in RunTerminalArguments | Michael Davis | 2022-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 Davis | 2022-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 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 |
| | |||
* | Merge remote-tracking branch 'origin/master' into debug | Blaž Hrastnik | 2022-02-13 |
| | |||
* | 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: Consistently rename type as ty | Blaž Hrastnik | 2021-11-07 |
| | |||
* | dap: Remove Deref for DebuggerCapabilities | Blaž Hrastnik | 2021-11-07 |
| | | | | Looks like a mistake | ||
* | 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 |
| | |||
* | Port over parsing improvements from the LSP | Blaž Hrastnik | 2021-10-17 |
| | | | | | We need to terminate if we ever read 0 bytes which indicates closed stream. | ||
* | 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 |
| | |||
* | wip: refactor parameters in UI start | Dmitry Sharshakov | 2021-08-29 |
| | |||
* | Customized completion for template parameters | Dmitry Sharshakov | 2021-08-28 |
| | |||
* | Support templates in debug configurations | Dmitry Sharshakov | 2021-08-24 |
| | |||
* | 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 |
| | |||
* | fix freeze with lldb terminated event | Dmitry Sharshakov | 2021-08-23 |
| | |||
* | types: make some fields optional as in spec | Dmitry Sharshakov | 2021-08-23 |
| | |||
* | config: minor fixes | Dmitry Sharshakov | 2021-08-23 |
| |