Analyzing structure and flow using a trace tree model
Contents
You use the PowerScript functions and PowerBuilder objects
listed in the following table to build a nested trace tree model of an
application.
Use this function |
With this object |
To do this |
---|---|---|
SetTraceFileName |
TraceTree |
Set the name of the trace file to be |
BuildModel |
TraceTree |
Build a trace tree model based on the trace file. |
EntryList |
TraceTree |
Get a list of the top-level entries in the trace |
GetChildrenList |
TraceTreeRoutine, TraceTreeObject, and |
Get a list of the children of the routine or |
DestroyModel |
TraceTree |
Destroy the current trace tree model and all the |
Each of these functions returns a value of type
ErrorReturn.
Each TraceTreeNode object returned by the EntryList and
GetChildrenList functions represents a single node in the trace tree
model and contains information about the parent of the node and the
type of activity it represents.
Inherited objects
The following objects inherit from TraceTreeNode and contain
additional information, including timer values:
-
TraceTreeError
-
TraceTreeESQL
-
TraceTreeGarbageCollect
-
TraceTreeLine
-
TraceTreeObject
-
TraceTreeRoutine
-
TraceTreeUser