How to use debugger for opam #6037
-
Hey there! I want to investigate a section in this project with a debugger, but I haven't understood the build process enough to figure out how to do it yet. Is it possible to make a bytecode build or is there another way to use a debugger for the opam code? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
it is possible to make a bytecode build but you'll need to add Line 14 in 62b041a I've done it once but i can't remember it if was the only thing to do. Be aware though that the resulting binary is going to be extremely slow (from what i remember) |
Beta Was this translation helpful? Give feedback.
it is possible to make a bytecode build but you'll need to add
(modes (byte exe))
in this stanza:opam/src/client/dune
Line 14 in 62b041a
I've done it once but i can't remember it if was the only thing to do. Be aware though that the resulting binary is going to be extremely slow (from what i remember)