T3StackInfoclass_main.t[819]

The stack information object. The intrinsic function t3GetStackTrace() in the 't3vm' function set returns a list of these objects; each object represents a level in the stack trace.

class T3StackInfo :   object

Superclass Tree   (in declaration order)

T3StackInfo
        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

argList_  func_  obj_  prop_  self_  srcInfo_ 

Summary of Methods  

construct  isSystem 

Properties  

argList__main.t[871]

the list of arguments to the function or method

func__main.t[852]
the function running at this stack level - this is nil if an object property is running instead of a function

obj__main.t[861]
The object and property running at this stack level - these are nil if a function is running instead of an object method. The object is the object where the method is actually defined - this might not be the same as self, because the object might have inherited the method from a base class.

prop__main.t[862]
no description available

self__main.t[868]
the 'self' object at this level - this is nil if a function is running at this level instead of an object method

srcInfo__main.t[892]
The source location of the next code to be executed in the function or method in this frame. If debugging records are available for the current execution point in this frame, this will contain a list of two values:

srcInfo_[1] = string giving the name of the source file
srcInfo_[2] = integer giving the line number in the source file

If the program wasn't compiled with debugging records, or the current code location in the frame doesn't have any source information, this will be set to nil.

Note that this gives the location of the *next* statement to be executed in this frame, when control returns to the frame. This means that the location is frequently the next statement after the one that called the next inner frame, because this is where execution will resume when control returns to the frame.

Methods  

construct (func, obj, prop, selfObj, argList, srcInfo)_main.t[824]

Construct a stack level object. The system invokes this constructor with information on the stack level.

isSystem ( )_main.t[839]
Is this a system routine? This returns true if an intrinsic function or an intrinsic class method is running at this level.

TADS 3 Library Manual
Generated on 4/11/2008 from TADS version 3.0.16