Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

nojb/ppx_fbt_trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppx_fbt_trace

ppx_fbt_trace is a ppx rewrite of the camlp4 extension pa_fbt_trace (see here). Quoting the explanation found there:

This ppx extension introduces simple function boundary tracing to an OCaml program. Every toplevel function is rewritten to print a line whenever it is called, allowing you to trace through all the functions being called.

This is only intended for debug use and not for production servers, since the volume of data produced is really quite high.

Contact: Nicolas Ojeda Bar

Installation

opam switch 4.02.0+trunk
opam install ANSITerminal ppx_tools ocamlfind

And then, manually:

git clone https://github.com/nojb/ppx_fbt_trace
cd ppx_fbt_trace
make
make install

Usage

ocamlfind ocamlc -package ppx_fbt_trace -linkpkg <file>.ml

Releases

No releases published

Packages

No packages published

Languages