Hi,

I tried out ocamldebug on the  hello world example[1] of the ocaml-cohttp 
library. I configured the debugger by writing the results of `ocamlfind query 
-recursive core async cohttp cohttp.async` into a file and prefixed each line 
with `directory`. For more information see this blog post about my setup[2].

As I stepped through the code I would see errors like this:

(ocd) step
Time: 1084742 - pc: 4416712 - module Cohttp.Request
No source file for Cohttp.Request.

I chatted with whitequark on IRC and he suggests that it might be because 
ocamldebug doesn't support compilation units compiled with the -pack flag. Is 
that the case? If so, is this a bug?

Cheers,
Mads

[1] 
https://github.com/mirage/ocaml-cohttp/blob/master/examples/async/hello_world.ml
[2] http://mads379.github.io/ocaml/2014/11/15/ocamldebug.html

-- 
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html
--- 
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to