Skip to content

[Enhancement] What about using DAP support from LSP4IJ  #407

@angelozerr

Description

@angelozerr

I have noticed that you have implemented custom dap support https://github.com/robotcodedev/robotcode/tree/main/intellij-client%2Fsrc%2Fmain%2Fkotlin%2Fdev%2Frobotcode%2Frobotcode4ij%2Fdebugging

As you are based on Lsp4ij to support your lsp server,I wonder (I hope) if you could be intersted to use LSP4IJ dap support https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/UserGuide.md

You can read https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/DAPSupport.md to know what lsp4ij is supporting as dap features. For instance we support completion, inline debug value etc.

Today dap support should work fine by using dap breakpoint type, dap configuration type. It should work well by declaring the dap server, the dap behaviour like stdio, socket and request launch and attach, but I have started to provide the capability to use extension point https://github.com/redhat-developer/lsp4ij/blob/main/docs/dap/DeveloperGuide.md

With this extension point you can embed in your plugin the dap server and avoid declaring some path of the dap server, and how dap client must be connected to the dap server.

I need to improve this extension point to use custom breakpoint type, use custom configuration type, custom settings editor like you have.

I will be super happy if you would like to try our dap support (with declaration mean at first) and start to implement the dap extension point.

If you could be interested, I could contine my work for dap extension point to use your custom breakpoint type. Custom configuration type, etc.

My goal is to have a generic and extensible dap support (like we have with lsp).

Hope you could be interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions