Getting Started with LLDB on OCaml August 3, 2024This post is a companion to KC’s excellent Getting Started with GDB on OCaml that shows how to debug OCaml programs with GDB. I wanted to demonstrate the same functionality using LLDB on Linux ARM64. The aim is to show the beginnings of debugging OCaml programs with LLDB and highlight a few LLDB tricks I’ve found. We will start with the same program: (* fib.ml *)letrec fib n =if n = 0then0elseif n = 1then1else fib (n-1) + fib (n-2)let main ...