There is a REPL for Ocaml that does not debug, it is the ocaml command.
You can also use ocamldebug on ocamldebug , but I'm not sure if this will help you.
The ocamldebug debugger is mostly used (in an application compiled with ocamlc ) since you would use gdb for C.
Basile starynkevitch
source share