Lucee Function Reference
callstackget()
return the context (stacktrace) of the current position.
Example
callstackget([string type,[number offset,[number maxFrames]]]):any
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Default Value | Description |
---|---|---|---|---|
type | string | No | array | the type of the returned value, possible values are: [array], string, html, json |
offset | number | No | 0 | the number of frames to skip, default is 0 |
maxFrames | number | No | 0 | the maximum number of frames to return, default is 0 which means all |