I have a simple ocamlbuild project that uses Batteries, including syntax extensions.
_tags :
<*>: pkg_batteries,pkg_threads,pkg_batteries.syntax,syntax_camlp4o
something.ml :
open Batteries β¦ let () = β¦
It is built for debugging with:
$ ocamlbuild something.d.byte $ ocamldebug something.d.byte
Trying to use the print command in ocamldebug , however, gives the following error:
(ocd) print x Cannot find module Batteries.
This only happens when debugging in the area where Batteries open ed.
What is the reason for this error? How can I get along?
jrk
source share