From 03abff77e4a0c116f816443434b1864fa8ee12ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?=
Date: Tue, 8 Mar 2011 08:15:55 +0100
Subject: Implement process_info(Pid, current_{location,stacktrace})
---
erts/doc/src/erlang.xml | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
(limited to 'erts/doc/src')
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index b7d775541f..b59fda7ef7 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -3809,11 +3809,26 @@ os_prompt%
catches in this process. This InfoTuple may be
changed or removed without prior notice.
- {current_function, {Module, Function, Args}}
+ {current_function, {Module, Function, Arity}}
-
-
Module, Function, Args is
+
Module, Function, Arity is
the current function call of the process.
+ {current_location, {Module, Function, Arity, Location}}
+ -
+
Module, Function, Arity is
+ the current function call of the process.
+ Location is a list of two-tuples that describes the
+ location in the source code.
+
+
+ {current_stacktrace, Stack}
+ -
+
Return the current call stack back-trace (stacktrace)
+ of the process. The stack has the same format as returned by
+ erlang:get_stacktrace/0.
+
+
{dictionary, Dictionary}
-
Dictionary is the dictionary of the process.
--
cgit v1.2.3