Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Debugging elixir efficently

Debugging elixir efficently

A 10 minutes walk through of Erlang's built-in tools (:debugger and :obverser) to help you debug your elixir code efficiently.

Guillaume Cauchon

May 10, 2018
Tweet

More Decks by Guillaume Cauchon

Other Decks in Technology

Transcript

  1. > iex --erl "+S 1" -S mix * iex(1)> :observer.start()

    :ok iex(2)> Demo.fibonacci(20) 6765 iex(3)> Demo.fibonacci(99) 218922995834555169026 iex(4)> Demo.fibonacci(-1) … * Start the Erlang VM with a single process scheduler to demonstrate the infinite loop more explicitly.