REPL for ocamldebug?

One of the things that I skip from GHC (Haskell) when using OCaml is that there is no single debugger / REPL. The debugger and the REPL are completely separate, which is crazy! You cannot come up with a random function call and execute it in the current process, as you can in ghci.

Any tips, workarounds for this?

+7
source share
1 answer

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.

+1
source

All Articles