4 ms·
LSP isn't the protocol that interfaces with debuggers, that'd be DAP. You're right that OCaml debugging is kinda clunky at the moment. OCaml does have an okay
by debugnik 1y ago
LSP isn't the protocol that interfaces with debuggers, that'd be DAP. You're right that OCaml debugging is kinda clunky at the moment.
OCaml does have an okay LSP implementation though, and it's getting better; certainly more stable than F#'s in my experience, since that comparison is coming up a lot in this comment section.
- StopDisinfo910 1y agoWhat’s clunky about the Ocaml debugger? Ocaml has been shipping with an actual fully functional reverse debugger for ages. Is the issue mostly integration with the debugging ui of VS Code?
- anentropic 1y agoit was clunky AF last time I tried to use it https://discuss.ocaml.org/t/debug-ocaml-code/10867/18 https://discuss.ocaml.org/t/debug-ocaml-code/10867/18 and yeah integrating to VS Code debugging UI would be ideal I really like OCaml, so I hope the community can continue to improve the UX of these features
- StopDisinfo910 1y ago> it was clunky AF last time I tried to use it https://discuss.ocaml.org/t/debug-ocaml-code/10867/18 https://discuss.ocaml.org/t/debug-ocaml-code/10867/18 Yes, I see what you mean now. You encountered a bug around system thread and dune didn’t properly pass your artifacts. That’s indeed annoying. I deeply dislike dune myself and never use it. I just use the Ocaml toolchain like I would a good old C one which might explain our different experiences.