TraceActivityNode object

The TraceActivityNode object provides information about the nodes in a trace file, including the type of activity represented by a node. You use the TraceActivityNode object in conjunction with the TraceFile object.

The TraceActivityNode object has no events.

Properties

TraceActivityNode property

Datatype

Description

ActivityType

TraceActivity (enumerated)

A value of the enumerated datatype TraceActivity that identifies the activity represented by the node. Values are:

ActBegin! -- Start and finish of logging.

ActError! -- Occurrences of system errors and warnings.

ActESQL! -- Embedded SQL statement entry and exit.

ActGarbageCollect! -- Start and finish of garbage collection

ActLine! -- Routine line hits.

ActObjectCreate! -- Object creation.

ActObjectDestroy! -- Object destruction.

ActRoutine! -- Routine entry and exit.

ActUser! -- Occurrences of an activity you selected.

Category

TraceCategory (enumerated)

The category of the activity represented by the node. Values are:

TraceAtomic! -- The node is an activity that occurred in a single statement.

TraceIn! -- The node is the beginning of an activity that spans several statements.

TraceOut! -- The node is the end of an activity that spanned several statements.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

TimerValue

Decimal

The timer value (in seconds) when the activity occurred.


Functions

TraceActivityNode function

Datatype returned

Description

ClassName

String

Returns the name assigned to the object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

TypeOf

Object (enumerated)

Returns the type of the object.