erlang: breakpoint implementation