-
Notifications
You must be signed in to change notification settings - Fork 460
Closed
ocaml/opam-repository
#23349Description
When launching ocamldebug on a bytecode executable generated with dune(v 3.6), the directory variable, used to search for source files is no longer set correctly:
Example:
OCaml Debugger version 5.0.0
(ocd) break @ Main 2
Loading program... done.
No source file for Main.
(ocd) directory
Reinitialize directory list ? (y or n) n
Directories: . /Users/xxx/.opam/5.0.0/lib/ocaml
/Users/xxx/.opam/5.0.0/.opam-switch/build/ocaml-base-compiler.5.0.0/stdlib
/Users/xxx/.opam/5.0.0/lib/ocaml /workspace_root /workspace_root/example
/workspace_root/example/.main.eobjs/byte /workspace_root/src/lib
/workspace_root/src/lib/.foo.objs/byte
The dune variable workspace_root has not been resolved.
Things were ok when using dune 2.6.
OCaml 5.0, dune 3.6
Metadata
Metadata
Assignees
Labels
No labels