diff options
author | Håkan Mattsson <[email protected]> | 2016-11-02 12:56:39 +0100 |
---|---|---|
committer | Håkan Mattsson <[email protected]> | 2016-12-12 16:40:29 +0100 |
commit | 2f8d59aa9e8a96d094172db339fd94aae45a90b5 (patch) | |
tree | 963d90abce0d57dd204c9d526b476c830afb9d5b /erts/emulator/test/trace_meta_SUITE.erl | |
parent | b47d104994c6f11301f23b0675ed5f06f3e25922 (diff) | |
download | otp-2f8d59aa9e8a96d094172db339fd94aae45a90b5.tar.gz otp-2f8d59aa9e8a96d094172db339fd94aae45a90b5.tar.bz2 otp-2f8d59aa9e8a96d094172db339fd94aae45a90b5.zip |
erts: Make depth of current_stacktrace configurable
The BIF process_info(Pid, current_stacktrace) truncates the
stacktrace. The old behavior was to truncate long stacktraces to max
8 items. And this was hard coded. Now it is truncated to the value of
system_flag(backtrace_depth) instead. The backtrace_depth defaults to
8, but is configurable.
Diffstat (limited to 'erts/emulator/test/trace_meta_SUITE.erl')
0 files changed, 0 insertions, 0 deletions