getCurrentContext

Return the context (stacktrace) of the current position.

getCurrentContext() → returns array

This function requires Lucee. Not supported on Adobe ColdFusion.

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