MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / resolve

Method resolve

_pydevd_bundle/pydevd_resolver.py:727–737  ·  view source on GitHub ↗
(self, obj, attribute)

Source from the content-addressed store, hash-verified

725 """
726
727 def resolve(self, obj, attribute):
728 if attribute == "__internals__":
729 return defaultResolver.get_dictionary(obj)
730
731 if attribute == "stack":
732 return self.get_frame_stack(obj)
733
734 if attribute == "f_locals":
735 return obj.f_locals
736
737 return None
738
739 def get_dictionary(self, obj):
740 ret = {}

Callers

nothing calls this directly

Calls 2

get_frame_stackMethod · 0.95
get_dictionaryMethod · 0.45

Tested by

no test coverage detected