TraceFile object
The TraceFile object is used to access the contents of a trace file
created from a PowerBuilder application. Unlike the Profiling and
TraceTree objects, the TraceFile object does not provide properties and
functions to create an analysis model. You use the TraceFile object in
conjunction with the TraceActivityNode, TraceBeginEnd, TraceError,
TraceESQL, TraceGarbageCollect, TraceLine, TraceObject, TraceRoutine, and
TraceUser objects.
The TraceFile object has no events.
Properties
|
TraceFile property |
Datatype |
Description |
|---|---|---|
|
ApplicationName |
String |
The name of the application used to generate the |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
CollectionTime |
Decimal |
The amount of time (in seconds) taken by the |
|
LastError |
ErrorReturn (enumerated) |
The error code for the last error that |
|
NumberOfActivities |
Long |
The number of activities that exist in the trace |
|
FileName |
String |
The name of the opened trace file. The value is an |
Functions
|
TraceFile function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
ErrorReturn (enumerated) |
Closes the open trace file. |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
TraceActivityNode |
Provides the next activity in the trace stream. If |
|
|
ErrorReturn (enumerated) |
Opens for reading the trace file with the passed |
|
|
ErrorReturn (enumerated) |
Resets the stream to the beginning of the trace |
|
|
Object (enumerated) |
Returns the type of the object. |