emacs-lsp / dap-mode

Emacs :heart: Debug Adapter Protocol
https://emacs-lsp.github.io/dap-mode
GNU General Public License v3.0
1.31k stars 182 forks source link

dap-julia: Adapter for Julialang #173

Open fleimgruber opened 4 years ago

fleimgruber commented 4 years ago

The implementation I found is https://github.com/julia-vscode/DebugAdapter.jl. Could this be wrapped with a dap-julia.el? AFAICS, the dap-mode adapters use external programs so one would have to be written in Julia, correct?

yyoncho commented 4 years ago

Yes. You need the debug adapter and the corresponding debug templates.

fleimgruber commented 4 years ago

After more reading, it seems that the repo I linked to is just the interface code and not a proper debug server. That server still needs to be written, see also https://github.com/julia-vscode/julia-vscode/issues/125.

jbrnd commented 3 years ago

Some further comments here: https://github.com/puremourning/vimspector/issues/256#issuecomment-695794837

zot commented 2 years ago

Looks like Julia's DAP server works with VSCode now...

[sorry for multiple copies of this comment -- Brave's connection with GitHub hung and I ended up submitting around 4 of these]

fleimgruber commented 2 years ago

@zot thanks for the update. What is missing here is a standalone DAP server executable, so did you manage to use it outside of VS Code?

zot commented 2 years ago

Not yet -- just found out about it and saw this issue so I thought I'd post a little info here. I don't know how standalone this is:

https://github.com/julia-vscode/julia-vscode https://github.com/julia-vscode/julia-vscode/tree/master/scripts/debugger

fleimgruber commented 2 years ago

This is what I did in https://github.com/emacs-lsp/dap-mode/issues/173#issuecomment-567208038. In the meantime the Julia implementation was done (your link to run_debugger.jl), but the comment linked in https://github.com/emacs-lsp/dap-mode/issues/173#issuecomment-817454492 is still valid I fear.

Nidish96 commented 1 year ago

Has there been any progress on this yet?