Update Documentation - Trace control flow between functions
@@ -48,3 +48,31 @@ The next example demonstrates the Trace library usage to trace all events.
see "Message from mymethod" + nl
+.. index::
+ pair: The Trace Library and the Interactive Debugger; Trace control flow between functions
+
+Trace control flow between functions
+====================================
+
+The next example demonstrates the Trace library usage
+to trace the control flow between functions.
+
+.. code-block:: ring
+
+ Trace(:Functions)
+
+ test1()
+
+ func test1
+ see :test1 + nl
+ test2()
+
+ func test2
+ see :test2 + nl
+ see test3() + nl
+
+ func test3
+ see :test3 + nl
+ return "test 3 output"
+
+
