[ANN] ocamlearlybird 0.1.0 - make OCaml debugging less sucks

I’m happy to announce the first release of ocamlearlybird.

ocamlearlybird is a debug adapter purely written in OCaml. Currently it has these features:

  • Auto discover sources heuristically
  • Line breakpoints and column breakpoints
  • Basic next , step in , step out and continue commands
  • Inspect stack frames, local variables, closure variables and global variables

You can use ocamlearlybird in VS Code by install ocaml-debugger extension.

Enjoy!

7 Likes
  • Could you talk a bit about how it works?
  • Does it work with native code?
  • How does it hook into the execution of a program?
3 Likes
  • It use env CAML_DEBUG_SOCKET and debugger.h to talk to the debugger in vm.
  • It only work with bytecode with debug information - compiled with -g option.
  • Mostly same as the ocamldebug’s implementation

.

3 Likes