Symbolizes closure blocks. Works only on native executables.
ocamlfind ocamlopt -syntax camlp4o -package lwt -package lwt.syntax -package lwt.unix str.cmxa -linkpkg symbolizer.ml -o symbolizer
ocamlfind ocamlopt -package inspect -linkpkg foo.ml -o foo
./foo
./symbolizer -prog foo -graph test.dot -open okular
Before: http://i.imgur.com/Sk1cDEU.jpg