package earlybird

  1. Overview
  2. Docs
Debug adapter for OCaml 4.11

Install

Dune Dependency

Authors

Maintainers

Sources

earlybird-1.0.3.tbz
sha256=f1a4de803d308eb2cb61bf9f8b0b77211d7526edd4a10753fc11dc3be754795f
sha512=335b431a94777d34dfccc619701521ddeb2df1af7de60273594b5d58a72121093189b711896a7d3580e55f26034a67d664ceb4b1386bbbfd4c1d8f1b5bf2b807

Description

Debug adapter for OCaml 4.11.

Published: 23 Feb 2021

README

ocamlearlybird

How to use

  1. Switch to ocaml 4.11

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

  3. 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

Debug utop

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}/**/*>",
            "yieldSteps": 1024,
            "cwd": "${workspaceFolder}"
        }
    ]
}

Dependencies (18)

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

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.