-
Notifications
You must be signed in to change notification settings - Fork 25
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
the selected switch is not installed #22
Comments
It should work on 4.07.1
You should set up opam's env according to their doc. The way you used I've not tested |
I did as you suggested but I still have the same problem now: it says dune 2.5.0 is not supported and that the only supported versions are:
do you know how I can downgrade dune?
EDIT: I managed to downgrade dune to 2.1.3 by running
apparently it fails to build main.bc. Here's my dune-workspace.dev file:
|
UPDATE: |
Your |
the launch.json
the tasks.json
|
What program do you want to debug? ocamlearlybird is the debugger. What's your program? |
Hello!
I'm a french student in my first year of prepatory school and in my cs class we've been using ocaml for a few months now and I really wanted to set vscode up to compile and debug my projects on it... So I tried multiple stuff and eventually came upon your repo which seems do be doing exactly what I'm looking for.
It's just that I'm not sure I'm doing the right thing to install your debug adapter.
Here's what I've done so far:
-I installed the extension you advised (Ocaml debugger)
-I copied the repository into my workspace file
-I created a switch using this command line:
opam switch create . ocaml-base-compiler.4.06.1
When I try to run the debugger I get an error:
So, can someone help me on this please?
EDIT: So I ran opam switch create 4.06.1 and it seemed to do the trick. Now I have to deal with some missing lwt_ppx library... keeping you updated
EDIT: have to downgrade dune and it should be good
The text was updated successfully, but these errors were encountered: