diff options
author | Hans Bolinder <[email protected]> | 2017-12-15 15:44:50 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-01-09 16:39:16 +0100 |
commit | 8171c997f02e8b54b3f238d5652345fe6d77523b (patch) | |
tree | 6aa0b2e8a6666eb92d7d3a3dc0ea118ef952541f /erts/doc/src/erlang.xml | |
parent | 8eeaa775a218ce8b74a59cace2f6b3d31f323b0b (diff) | |
download | otp-8171c997f02e8b54b3f238d5652345fe6d77523b.tar.gz otp-8171c997f02e8b54b3f238d5652345fe6d77523b.tar.bz2 otp-8171c997f02e8b54b3f238d5652345fe6d77523b.zip |
stdlib: Improve erl_eval's stacktraces
The call "erlang:get_stacktrace()" is not handled explicitly. If there
are issues, they can probably be ignored since erlang:get_stacktrace/1
will be deprecated and removed.
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r-- | erts/doc/src/erlang.xml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index d7404fa3ce..1b04690239 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -1444,11 +1444,14 @@ b</pre> the process to terminate, it has no return value. Example:</p> <pre> > <input>catch error(foobar).</input> -{'EXIT',{foobar,[{erl_eval,do_apply,5}, - {erl_eval,expr,5}, - {shell,exprs,6}, - {shell,eval_exprs,6}, - {shell,eval_loop,3}]}}</pre> +{'EXIT',{foobar,[{shell,apply_fun,3, + [{file,"shell.erl"},{line,906}]}, + {erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,677}]}, + {erl_eval,expr,5,[{file,"erl_eval.erl"},{line,430}]}, + {shell,exprs,7,[{file,"shell.erl"},{line,687}]}, + {shell,eval_exprs,7,[{file,"shell.erl"},{line,642}]}, + {shell,eval_loop,3,[{file,"shell.erl"},{line,627}]}]}} +</pre> </desc> </func> |