1. Preface
  2. 1. Debugging support in the OCaml compiler
    1. 1.1. GDB on Linux debugging session
    2. 1.2. LLDB on MacOS debugging session
    3. 1.3. Debugging bytecode
      1. 1.3.1. Debugging OCaml with Emacs
  3. 2. Profiling
    1. 2.1. Using perf
    2. 2.2. Generating CPU Flamegraphs for OCaml on Linux
    3. 2.3. Generating CPU Flamegraphs for OCaml on MacOS
    4. 2.4. Memory profiling with statmemprof in 4.14 LTS
    5. 2.5. Memory profiling with statmemprof in 5.3

OCaml Debugging and Performance

Finding memory leaks with Memtrace