getCallStack

lsst.pex.config.callStack.getCallStack(skip=0)

Retrieve the call stack for the caller.

Parameters:
skip : int, non-negative

Number of stack frames above caller to skip.

Returns:
output : list of StackFrame

The call stack. The list is ordered with the most recent frame to last.

Notes

This function is excluded from the call stack.