Copy & Paste the following snippets to try and establish your own workflow:
-
rebar3 shell
- For Windows:
escript rebar3 shell
assuming there's rebar3 in current directory.
- For Windows:
-
Start App, tracing, call tracing all in one command (auto stop after 10 sec):
vemdog:start(), vemdog:t(), observer:start().
- Same with GC:
vemdog:start(), vemdog:t(new, [gc]), observer:start().
- Same with GC:
-
Dump JSON file for investigation:
file:write_file("out.json", vemdog_store:to_json()).