-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocamldebug support #4229
Comments
Regarding the name, |
BTW, as a programmer what I would really like is being able to write |
That's very interesting, does OCaml support that already? I'm not familiar enough with the internals of the BC interpreter. |
I don't think so. It would probably require some change to |
I'd strongly prefer |
what will happen with a local .ocamldebug? moreover, could the default executable of the debugger be over-rideable with an |
@richardlford perhaps this is relevant to your recent work? |
My PR, #7750, addresses this issue. |
This is an effort to centralize the discussion for a plan to improve ocamldebug support in Dune (c.f. #3818)
Some comments:
dune debug $byte_file
, that would take care of doing the right ocamldebug call, other is to expose variables so the call can be written easily as a ruledune top
anddune utop
do, in particular:cma
files and stubs for$byte_file
must be up to date-I
options have to be passed to ocamldebug so cmi and cma files are built(executable ...)
stanza as to declare the printers library. The printers could be automatically loaded, but it would be a good idea to actually generate a concrete file to be used with thesource
commandI think that if we agree on the above, doing a basic rule should be pretty quick.
The text was updated successfully, but these errors were encountered: