Not sure. There is this clause in the ocamldebug page:

"For technical reasons, the debugger cannot call printing functions that reside in the program being debugged. The code for the printing functions must therefore be loaded explicitly in the debugger."

Also, I'm only trying to view a string...




On 24 February 2017 at 08:41, Sébastien Hinderer <Sebastien.Hinderer@inria.fr> wrote:
Tom Ridge (2017/02/23 16:49 +0000):
> Regarding `#install_printer`, can you explain more? The type
> "Key_value_types.key" is equal to string (in this particular case).
> However, this type is produced via module application, and so I cannot
> construct a printer that can print values of type "Key_value_types.key"
> before program execution (which seems to be required for
> #install_printer).

Can't you add the pretty-printer to the module, actually?

Sébastien.

--
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs