Are there any Tracing Tutorials around?

Tracing in Erlang is something I keep reading about being a very powerful tool for debugging, but it always seems to be discussed in passing. I’ve watched some conference talks that touch on it and read some blogs which discuss it briefly, but I’m not aware of any tutorials that walk through tracing using :observer and implement a real-world example.

I’d love to see something like this, or at least learn the approach others took to using tracing.

7 Likes

Erlang in Anger might have some tips. It’s a free book :slight_smile:

2 Likes

I believe the book Designing for Scalability with Erlang/OTP has a few sections on the topic, but I can’t confirm, I’m still 1/3 through :grin:

2 Likes

Yup, I’ve read that book :blush:. It’s a great example of the type of tracing information out there - 5ish pages of a review of capabilities and a few example lines of code.

I think it’d be great if we could get some of the amazing GenServer or Supervisor tutorials for tracing.

1 Like

Bought that too but haven’t started yet :grimacing:

1 Like

This might be useful: http://www.erlang-factory.com/euc2016/lukas-larsson

1 Like