Skip to main content

callChain

callChain : collection

ParameterTypeDescription
Resultcollection<-Collection of objects describing the call chain within a process

Description

The callChain command returns a collection of objects describing each step of the method call chain within the current process.

It provides the same information as the debugger. It has the added benefit of being able to be executed from any environment.

The command facilitates debugging by enabling the identification of the method called, the component that called it, and the line number where the call was made. Each object in the returned collection contains the following properties:

PropertyTypeDescriptionExample
databasetextName of the database calling the method"database":"contactInfo"
lineintegerLine number of call to the method"line":6
nametextName of the called method"name":"moreThanAverage"
typetextType of the method:
  • "projectMethod" (method)
  • "executeFormula"
  • "classFunction"
  • "type":"classFunction"

    Example


    var currentCallChain : collection
    currentCallChain = callChain()