package earlybird
Debug adapter for OCaml 4.11
Install
Dune Dependency
Authors
Maintainers
Sources
earlybird-1.0.2.tbz
sha256=c370e2e6d1d33960e9c34d95bbf5d730a1ad0e4daab57980aadaa6e8697b225a
sha512=e5e11a422bb8a04705be7e563bd7c15a1a7a106e713a58291292c5754a8a3f196155593a21c2137b40466415dd0076f04b7eb8a2e0b9f58fa8763641021922e6
Description
Debug adapter for OCaml 4.11.
Published: 22 Feb 2021
README
ocamlearlybird
How to use
Switch to ocaml 4.11
Install earlybird and make sure ocamlearlybird in your PATH.
Install vscode extension hackwaly/ocamlearlybird
Quick debug
You can select context menu "Start an OCaml Debug Session" on bytecode file in vscode explorer to quickly start an debug session.
Example
Example launch configuration
Used to debug utop examples.
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "test_program",
"type": "ocamlearlybird",
"request": "launch",
"stopOnEntry": true,
"console": "integratedTerminal",
"program": "${workspaceFolder}/_build/default/examples/interact/test_program.bc",
"onlyDebugGlob": "<${workspaceFolder}/_build/default/**/*>",
"yieldSteps": 1024,
"cwd": "${workspaceFolder}"
}
]
}
Dependencies (18)
-
dap
>= "1.0.6"
-
lru
>= "0.3.0"
-
csexp
>= "1.3.2"
-
sexplib
>= "v0.14.0"
-
path_glob
>= "0.2"
-
fmt
>= "0.8.9"
-
logs
>= "0.7.0"
-
cmdliner
>= "1.0.4"
-
lwt_react
>= "1.1.3"
-
lwt_ppx
>= "2.0.1"
-
lwt
>= "5.4.0"
-
iter
>= "1.2.1"
-
menhirLib
>= "20201216"
-
menhir
>= "20201216" & build
-
ppx_deriving_yojson
>= "3.6.1"
-
ppx_deriving
>= "5.1"
-
ocaml
>= "4.11.0" & < "4.12.0"
-
dune
>= "2.8"
Dev Dependencies (1)
-
odoc
with-doc
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page