Hi! I’m newbie.
My questions is like the subject: Let say I have a recursion task which I’ll use a bunch of recursion functions to handle.
def do_something(_), do: do_something(_)
def do_something(_) when *some_condition*, do: do_something(_)
.........
def do_something(_, _, _) when *more_conditions*, do: do_something(_)
I wonder whether Elixir support debug methods to check the sequence my code (which specific input) will be executed. I mean Can it show my recursion task jumped in do_something functions with order like: 4 → 5 → 3 → 7 → 1 ?
The easy way I could think of as a newbie is put IO.puts in each do_something function which might not be efficient way…
Sorry If my descriptionis not clear. Thanks for reading.