[erlang-questions] get_stacktrace() question

Richard Carlsson richardc@REDACTED
Mon Jan 5 10:14:25 CET 2009


Kaiduan Xie wrote:
> erlang:get_stacktrace() only returns the list of {Module, Function, Arity}
> (The Arity field in the first tuple may be the argument list of that
> function call instead of an arity integer, depending on the exception). Is
> there any way to return the argument list for ALL functions?

No. You could use tracing to get more information about your program,
but the stacktrace functionality does not provide this.

    /Richard



More information about the erlang-questions mailing list