Analyzing structure and flow using a trace tree model
You use the PowerScript functions and PowerBuilder objects
listed in Table 33-10 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 |
|
EntryList |
TraceTree |
Get a list of the top-level entries in |
|
GetChildrenList |
TraceTreeRoutine, TraceTreeObject, and TraceTreeGarbageCollect |
Get a list of the children of the routine |
|
DestroyModel |
TraceTree |
Destroy the current trace tree model |
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