3 ms·
> I wanted to debug something > I've analyzed Erlang strace > "Erlang is complicated" If you want to debug Erlang program then Erlang/OTP already includes tool
by al_chemist 10y ago
> I wanted to debug something
> I've analyzed Erlang strace
> "Erlang is complicated"
If you want to debug Erlang program then Erlang/OTP already includes tools to help you do that: http://www.erlang-in-anger.com/ http://www.erlang-in-anger.com/ - 92 page manual that includes:
- tracing functions called with defined parameters
- analyzing crash dumps, memory leaks, cpu scheduling
- toast0 10y agoThis is great, if you're planning to do many things with erlang, our you have a lot of time. If your friend has a weird problem and comes to you because you have a reputation for figuring things out that you've earned by using strace, then you use strace. Incidentally, I'm reading this because I use erlang, but it took about a minute to see the problem (tcp port exhaustion) from the strace.