aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-12-20 18:30:12 +0100
committerGitHub <[email protected]>2016-12-20 18:30:12 +0100
commit420aa50e766560c3316a16695c8c3c1c46138aff (patch)
tree083586ea689839c088d1529d305093101b3b971c /erts/doc/src
parentac2de409f9379544234f3356974feb2ac15d4818 (diff)
parent2f8d59aa9e8a96d094172db339fd94aae45a90b5 (diff)
downloadotp-420aa50e766560c3316a16695c8c3c1c46138aff.tar.gz
otp-420aa50e766560c3316a16695c8c3c1c46138aff.tar.bz2
otp-420aa50e766560c3316a16695c8c3c1c46138aff.zip
Merge pull request #1263 from hawk/hm/stacktrace-depth/OTP-14119
Make depth of current_stacktrace configurable
Diffstat (limited to 'erts/doc/src')
-rw-r--r--erts/doc/src/erlang.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 9646953518..112682d713 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -4899,7 +4899,9 @@ RealSystem = system + MissedSystem</code>
<p>Returns the current call stack back-trace (<em>stacktrace</em>)
of the process. The stack has the same format as returned by
<seealso marker="#get_stacktrace/0">
- <c>erlang:get_stacktrace/0</c></seealso>.</p>
+ <c>erlang:get_stacktrace/0</c></seealso>. The depth of the
+ stacktrace is truncated according to the <c>backtrace_depth</c>
+ system flag setting.</p>
</item>
<tag><c>{dictionary, <anno>Dictionary</anno>}</c></tag>
<item>
@@ -6611,7 +6613,9 @@ ok
<fsummary>Set system flag <c>backtrace_depth</c>.</fsummary>
<desc>
<p>Sets the maximum depth of call stack back-traces in the
- exit reason element of <c>'EXIT'</c> tuples.</p>
+ exit reason element of <c>'EXIT'</c> tuples. The flag
+ also limits the stacktrace depth returned by <c>process_info</c>
+ item <c>current_stacktrace.</c></p>
<p>Returns the old value of the flag.</p>
</desc>
</func>