ElixirDoctor
Thin library to help using erlang_doctor from Elixir.
Installation
If available in Hex, the package can be installed
by adding elixir_doctor to your list of dependencies in mix.exs:
def deps do
[
{:elixir_doctor, "~> 0.1.0"}
]
endUsage
TR.start()
TR.trace_calls([Mod1, Mod2])
Mod1.fun()
TR.stop_tracing_calls()
# returns all entries
TR.select()
# you gotta import TR.tr/1 macro,
# if you want to do pattern matching on records
import TR, only: [tr: 1]
TR.filter(fn tr(event: :call) -> true end)Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_doctor.