aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erlang.xml
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-12-20 18:31:32 +0100
committerSverker Eriksson <[email protected]>2016-12-20 18:31:32 +0100
commit44138faf5c7047af63f49390282358de2e3c3b3d (patch)
tree5e1d05920e01aca513a1701ced135ed6f847be0f /erts/doc/src/erlang.xml
parenta3b58a857a9d1a4d4bec051bf7814580e4254f02 (diff)
parent420aa50e766560c3316a16695c8c3c1c46138aff (diff)
downloadotp-44138faf5c7047af63f49390282358de2e3c3b3d.tar.gz
otp-44138faf5c7047af63f49390282358de2e3c3b3d.tar.bz2
otp-44138faf5c7047af63f49390282358de2e3c3b3d.zip
Merge branch 'maint'
Diffstat (limited to 'erts/doc/src/erlang.xml')
-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 40ddcb8545..b3fab3874b 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -4933,7 +4933,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>
@@ -6645,7 +6647,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>