package earlybird

  1. Overview
  2. Docs
OCaml debug adapter

Install

Dune Dependency

Authors

Maintainers

Sources

earlybird-1.2.0.tbz
sha256=b86e31c7dd1bf18a3e8bcccac7011a4a27af6da9ecd14e446837a83fcd9eb83a
sha512=a150e7d10f5d7de57897f3e730f570d03803185325fb08b1ce15383f3dab6c2acae5340311ba26a84975542ccd267979cdad02f20055669c6d73d5c8af7c55e8

README.md.html

OCaml earlybird

OCaml debug adapter.

Installation

opam install earlybird

Usage

VS Code

See Debugging OCaml programs (experimental) in VSCode OCaml Platform README. This requires VSCode OCaml Platform 1.13 or newer.

Examples

utop

Screen capture of debugging utop.

Launch configuration used:

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

Innovation. Community. Security.