For a school project, I'm using Jane Street's Core and Async libraries. I'm trying to debug a problem with a bind
Unix syscall, so I run ocamldebug myprogram
. This stops when the exception is raised (Unix.Unix_error
), but upon backstepping I get the following message:
No source file for Async_parallel.Master_process.
which is the file in which the error is raised. Is it possible to specify to opam to build the packages I install with debugging information, so that I can use ocamldebug to examine them? Otherwise, what else can I do to get around this problem?
Thanks in advance!