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

Method get_var

tests_python/test_debugger_json.py:501–507  ·  view source on GitHub ↗
(self, variables_reference, var_name=None, index=None)

Source from the content-addressed store, hash-verified

499 return ret
500
501 def get_var(self, variables_reference, var_name=None, index=None):
502 if var_name is not None:
503 return self.get_name_to_var(variables_reference)[var_name]
504 else:
505 assert index is not None, "Either var_name or index must be passed."
506 variables_response = self.get_variables_response(variables_reference)
507 return pydevd_schema.Variable(**variables_response.body.variables[index])
508
509 def write_set_debugger_property(
510 self, dont_trace_start_patterns=None, dont_trace_end_patterns=None, multi_threads_single_notification=None, success=True

Callers 4

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

Calls 2

get_name_to_varMethod · 0.95

Tested by

no test coverage detected