~/talk

Tracing OCaml Programs

Talkat OCaml 2022 · on Friday, 2022-09-16· [observability]
links:none on file
links:none on file
slides:none on file

A framework instruments OCaml with a two-stage PPX pipeline that marshals values into binary traces during the first build and uses type info in a second compiled pass to rebuild readable, typed values; tooling includes a command-line query like grab and a visualization similar to Magic Trace but with full argument/return values. The system records function call/return spans, lets users navigate back-and-forth through execution and step into higher-order calls, and limits overhead via fine-grained instrumentation configuration and separation of content from schema.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Debugging in OCaml today
  3. 2:41Type-aware record-and-replay debugging
  4. 6:24Instrumentation
  5. 7:51Typical ppx
  6. 11:23Tradeoffs
  7. 13:49Other debugging methods
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.