-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
[WIP] Consider migrating to lsp4ij DAP #93
Comments
Point 2 tl;dr: |
I think we should copy/paste code from Memory view and adapt the code to console Memory DAP request / response. |
See: ZigBrains/cidr/src/main/kotlin/com/falsepattern/zigbrains/debugger/dap/DAPDriver.kt Lines 798 to 839 in 3a5daab
|
@FalsePattern I have discovered your issue and I am glad that you could be interested with dap support from LSP4IJ. Even if it is not perfect and it requires a lot of work again, I merged the PR. You can install nigthy to play with it and you can read the doc at https://github.com/redhat-developer/lsp4ij/blob/main/docs%2Fdap%2FDAP.md Dont hesitate to create any issues with your idea. |
At the moment zigbrains only has the builtin DAP support for debugging zig on windows (lldb cannot parse windows pdb files generated by zig so as a workaround i wrote a DAP adapter for using the msvc debugger), but i'm planning to use the lsp4ij DAP for debugging on idea community. The disassembler is not really required, i'm mostly just curious about how complex would it be to implement |
I dont know and I have never seen use it and dont know if the UI is complex. First I suggest that you play with the LSP4IJ dap support because I am not sure that it works with stdio instead of socket. I have tried to start lldp dap from swift in stdio but it fails. Only socket is working. The runInTerminal is not implemented and I have seen that you have implemented it. I dont know if it can work without this runInTerminal. Dont hesitate to create any issue. For the moment dap server is not configurable with extension point so perhaps we need to provide it. In short please dont be disappointed, it is just a basic dap support that it requires to improve it. |
@FalsePattern have you time to play with DAP support from LSP4IJ? Please try it with nighty build. |
I'm busy with university at the moment, I won't have a lot of free time until about June, so this issue is on hold for now. |
No problem, good luck with your university! |
Once redhat-developer/lsp4ij#735 is merged, investigate whether the current DAP debugger in zigbrains can be rewired to use the LSP4IJ one with feature parity.
Notes:
The text was updated successfully, but these errors were encountered: