[erlang-questions] Get call trace from function

Mats Cronqvist <>
Thu Feb 15 17:52:47 CET 2007

> Hello!
> Is it possible to get the call trace that lead to a particular function
> call? I have a code like this:
> handle_errors(_) ->

   this icky hack is the "traditional" way. there might be a better way to do 
this nowadays.

catch erlang:error({foo}).


More information about the erlang-questions mailing list