MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / get_local_var

Method get_local_var

tests_python/test_debugger_json.py:491–494  ·  view source on GitHub ↗
(self, frame_id, var_name)

Source from the content-addressed store, hash-verified

489 return self.get_name_to_var(name_to_scope["Globals"].variablesReference)
490
491 def get_local_var(self, frame_id, var_name):
492 ret = self.get_locals_name_to_var(frame_id)[var_name]
493 assert ret.name == var_name
494 return ret
495
496 def get_global_var(self, frame_id, var_name):
497 ret = self.get_globals_name_to_var(frame_id)[var_name]

Callers 7

_check_listFunction · 0.80
_check_tupleFunction · 0.80
_check_dict_subclassFunction · 0.80
_check_setFunction · 0.80

Calls 1

Tested by

no test coverage detected