Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C#/.NET debugger support #4212

Closed
filipdutescu opened this issue Oct 11, 2022 · 0 comments · Fixed by #4213
Closed

Add C#/.NET debugger support #4212

filipdutescu opened this issue Oct 11, 2022 · 0 comments · Fixed by #4213
Labels
C-enhancement Category: Improvements

Comments

@filipdutescu
Copy link
Contributor

Description

Add C# debugger support using Samsung/netcoredbg as the underlying executable. Provide launch and attach configurations to it for the start. This is inline with how mfussenegger/nvim-dap handles C# debugging as well, so it should be a suitable option.

Motivation

I would love to use Helix as my main editor, but professionally I mostly code in C# and thus I would not be able to fully migrate without this support.

Alternatives

I am unaware of other alternatives, but I am open to discuss them. However, from the small interactions that I had with the netcoredbg team they seem highly reliable, quick to respond and open to improvements, so I feel like they are a good option.

@filipdutescu filipdutescu added the C-enhancement Category: Improvements label Oct 11, 2022
filipdutescu added a commit to filipdutescu/helix that referenced this issue Oct 11, 2022
Add C# debugger support in the `languages.toml` file. This includes
"launch" and "attach" configurations that employ [netcoredbg][netdbg].

In order to make it work with the aforementioned debugger, the
`Initialized` DAP event response is changed to include an optional
`DebuggerCapabilities` response, as per the specification.

[netdbg]: https://github.com/Samsung/netcoredbg

Closes: helix-editor#4212
Signed-off-by: Filip Dutescu <filip.dutescu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant