()
Returns the stack trace of the current execution frame.

  Returns:
    A list of `StackTraceEntry` named tuples corresponding to the current stack
    trace of the process, truncated to immediately before entry into
    PyMJCF internal code.
Returns the stack trace of the current execution frame.
Returns the stack trace of the current execution frame .
def get_current_stack_trace():
  """Returns the stack trace of the current execution frame.

  Returns:
    A list of `StackTraceEntry` named tuples corresponding to the current stack
    trace of the process, truncated to immediately before entry into
    PyMJCF internal code.
  """
  if _CURRENT_FROZEN_STACK:
    return copy.deepcopy(_CURRENT_FROZEN_STACK)
  else:
    return _get_actual_current_stack_trace()
def get_current_stack_trace ( ) : if _CURRENT_FROZEN_STACK : return copy . deepcopy ( _CURRENT_FROZEN_STACK ) else : return _get_actual_current_stack_trace ( )