Skip to content
This repository has been archived by the owner on Feb 27, 2025. It is now read-only.

(VS code) I can't run Ocaml program #116

Open
safker opened this issue Sep 23, 2017 · 5 comments
Open

(VS code) I can't run Ocaml program #116

safker opened this issue Sep 23, 2017 · 5 comments

Comments

@safker
Copy link

safker commented Sep 23, 2017

Hello, I've just install VS code on windows to program in Ocaml but i can't run. The debugger doesn't seem to work...
I found this in a comment but i don't understand even when reading this https://marketplace.visualstudio.com/items?itemName=hackwaly.ocaml .
I've tried to install opam but i think i didn't understand what i did.
Please, can someone help me ?
Thank you in advance,
Saf.

@hackwaly
Copy link
Owner

Please paste your screenshot here to explain how you can't use debugger.

@safker
Copy link
Author

safker commented Sep 24, 2017

image

Adding semi colon :
image

and sometimes i have this with code = 0 or code =2
image

@hackwaly
Copy link
Owner

Please use debugger like this:

@JigaoLuo
Copy link

Hi. I would like to ask about the possibility to run the ocaml.
Is this a only way to run in the debugger model?
Is it possible to run like what we do in other ide?

@yannl35133
Copy link

I can't use the OCaml debugger either, can you be more precise on how to make it work ? I am using it on Windows, with OCaml installed through Cygwin.
When I run the debugger after compiling my .ml file with ocamlc -g, it prints out two Syntax errors and doesn't stop at breakpoints, simply executing everything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants