def getVariable(self, attributes): try: namespace = self.get_namespace() debug_values = [] val_dict = pydevd_vars.resolve_compound_var_object_fields( namespace, attributes, self.user_type_renderers) if val_dict is None: val_dict = {} keys = val_dict.keys() for k in keys: val = val_dict[k] evaluate_full_value = pydevd_thrift.should_evaluate_full_value( val) debug_values.append( pydevd_thrift.var_to_struct( val, k, evaluate_full_value=evaluate_full_value, user_type_renderers=self.user_type_renderers)) return debug_values except: traceback.print_exc() raise PythonUnhandledException(traceback.format_exc())
def getVariable(self, attributes): debug_values = [] val_dict = pydevd_vars.resolve_compound_var_object_fields(self.get_namespace(), attributes) if val_dict is None: val_dict = {} keys = val_dict.keys() for k in keys: val = val_dict[k] evaluate_full_value = pydevd_thrift.should_evaluate_full_value(val) debug_values.append(pydevd_thrift.var_to_struct(val, k, evaluate_full_value=evaluate_full_value)) return debug_values
def getVariable(self, attributes): debug_values = [] val_dict = pydevd_vars.resolve_compound_var_object_fields( self.get_namespace(), attributes) if val_dict is None: val_dict = {} keys = val_dict.keys() for k in keys: val = val_dict[k] evaluate_full_value = pydevd_thrift.should_evaluate_full_value(val) debug_values.append( pydevd_thrift.var_to_struct( val, k, evaluate_full_value=evaluate_full_value)) return debug_values