package earlybird

  1. Overview
  2. Docs
Debug adapter for OCaml 4.11

Install

Dune Dependency

Authors

Maintainers

Sources

earlybird-1.0.0.tbz
sha256=454c743a086fc4f94f7a1e686324bb8b6b46450972e94f671d8e28f413dc6d87
sha512=26f9fa36cef21a2981eaeb18cb5c824f5879f69101e4128432d54c9ae63faddafbf204c69ed7a3ddd440161d25c0c212899c61a14a124c150d0629939f6af89f

Description

Debug adapter for OCaml 4.11.

Published: 29 Jan 2021

README

ocamlearlybird

How to use

  1. Switch to ocaml 4.11

  2. Install earlybird-411 and make sure ocamlearlybird in your PATH.

  3. Install vscode extension hackwaly/ocamlearlybird

How to install

git clone https://github.com/hackwaly/ocamlearlybird.git
cd ocamlearlybird
git checkout 411
opam install .

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 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": "ocaml",
            "request": "launch",
            "stopOnEntry": true,
            "console": "integratedTerminal",
            "program": "${workspaceRoot}/_build/default/examples/interact/test_program.bc",
            "onlyDebugGlob": "<${workspaceRoot}/_build/default/**/*>",
            "yieldSteps": 1024,
            "cwd": "${workspaceRoot}"
        }
    ]
}

Dependencies (15)

  1. dap >= "1.0.5"
  2. path_glob >= "0.2"
  3. fmt >= "0.8.9"
  4. logs >= "0.7.0"
  5. cmdliner >= "1.0.4"
  6. lwt_react >= "1.1.3"
  7. lwt_ppx >= "2.0.1"
  8. lwt >= "5.4.0"
  9. iter >= "1.2.1"
  10. menhirLib >= "20201216"
  11. menhir >= "20201216" & build
  12. ppx_deriving_yojson >= "3.6.1"
  13. ppx_deriving >= "5.1"
  14. ocaml >= "4.11.0" & < "4.12.0"
  15. dune >= "2.8"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.