FalsePattern
FalsePattern
Point 2 tl;dr: Can we make something like [this](https://www.jetbrains.com/help/clion/disassembly-view.html) work in the open source IDEs?
I meant the disassembler that clion exposes through the CIDR api for native debuggers, and coupling it with the `disassemble` DAP request. In zigbrains I just hardwired the DAP integration...
See: https://github.com/FalsePattern/ZigBrains/blob/3a5daab063bed81c0897378482a3fec9cbb14d41/cidr/src/main/kotlin/com/falsepattern/zigbrains/debugger/dap/DAPDriver.kt#L798-L839
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...
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.
> [@FalsePattern](https://github.com/FalsePattern) again for your information I have implemented hover to show dap value with hover. I dont know if your current dap implementation does that. My primary blockers for...
Example: https://github.com/FalsePattern/ZigBrains/blob/3fb6077b4fe6b64656f12ccfff4b1fe0307b4c0a/cidr/src/main/kotlin/com/falsepattern/zigbrains/debugger/dap/DAPDriver.kt#L854
This DAP communicates with the MSVC debugger adapter (used for debugging zig on Windows due to an LLDB/GDB compatibility issue in the generated .pdb files), it's not zig-specific
See: https://github.com/microsoft/vscode-cpptools
As a cross-platform reference, LLDB-DAP uses the same requests/responses https://github.com/llvm/llvm-project/blob/main/lldb/tools/lldb-dap/README.md