getCurrentContext

Return the context (stacktrace) of the current position.

getCurrentContext() → returns array

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Compatibility

Lucee:

DEPRECATED since version 5 Lucee5+ this function is deprecated, use function CallStackGet instead.

Examples
Sample code invoking the getCurrentContext function

Simple dump of the call stack

writeDump(getCurrentContext());

Fork me on GitHub