contents   index   previous   next



SE.STACK_INFO(depth)

These objects contain information about all function calls currently being executed. SE.STACK_INFO(0) represents info on the wrapper function you are in, SE.STACK_INFO(1) is the function that called you, and so forth. The maximum depth you can look back is determined by the compile-time constant SE.MAX_STACK_INFO_DEPTH which defaults to 64. Thus, by default, you may use SE.STACK_INFO(0) to SE.STACK_INFO(63).

 

Here are the members of each stack info object and what that information is. These members are all read-only:

 


SE.SI_WRAPPER

SE.SI_FUNCTION

SE.SI_FUNCNAME

SE.SI_TRAPPED

SE.SI_GLOBAL

SE.SI_THIS

SE.SI_DATA

SE.SI_FILENAME

SE.SI_LINENUM

SE.SI_ACTIVATION

SE.SI_SCOPECHAIN

SE.SI_DEPTH