getDebugInfo static method

Map<String, dynamic> getDebugInfo()

Get debug information about the current stack state

Implementation

static Map<String, dynamic> getDebugInfo() {
  return {
    'stack': List.from(_scopeStack),
    'stackSize': _scopeStack.length,
    'currentScope': getCurrentScope(),
    'creationTimes': Map.from(_scopeCreationTimes),
    'useParentScopeSettings': Map.from(_scopeUsesParentScope),
  };
}