MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / get_init_stack

Method get_init_stack

dm_control/mjcf/element.py:221–224  ·  view source on GitHub ↗

Gets the stack trace where this element was first initialized.

(self)

Source from the content-addressed store, hash-verified

219 f'element <{self._spec.name}>: {err}').with_traceback(tb)
220
221 def get_init_stack(self):
222 """Gets the stack trace where this element was first initialized."""
223 if debugging.debug_mode():
224 return self._init_stack
225
226 def get_last_modified_stacks_for_all_attributes(self):
227 """Gets a dict of stack traces where each attribute was last modified."""

Callers

nothing calls this directly

Calls 1

debug_modeMethod · 0.80

Tested by

no test coverage detected