ppx_debug
ppx_debug copied to clipboard
Tools for record-and-replay debugging
ppx_debug
A collection of tools for record-and-replay debugging.
https://user-images.githubusercontent.com/4328341/192141194-2ab66ece-6e52-4eb7-8623-c6ceb82afa32.mov
This works by instrumenting a program using ppx, running the program to record an execution, then analyzing the execution using editor plugins (which provide an interface like that of an interactive debugger), Perfetto/magic-trace, the OCaml toplevel, or CLI tools.
- Tutorial and docs
- Demo project
- OCaml 2022 talk, abstract
This is an early prototype. Feel free to try it on your projects, but expect rough edges. Contributions are very welcome!