1446 if scope != -1 and str(var) in self.resolverCache[scope]: |
1446 if scope != -1 and str(var) in self.resolverCache[scope]: |
1447 varGen = self.resolverCache[scope][str(var)] |
1447 varGen = self.resolverCache[scope][str(var)] |
1448 idx, varDict = next(varGen) |
1448 idx, varDict = next(varGen) |
1449 if idx != -2: # more elements available |
1449 if idx != -2: # more elements available |
1450 var.insert(0, idx) |
1450 var.insert(0, idx) |
1451 varlist = self.__formatVariablesList(varDict, scope, filterList, var) |
1451 varlist = self.__formatVariablesList(varDict, scope, filterList, var[1:]) |
1452 elif scope != -1: |
1452 elif scope != -1: |
1453 variable = varDict |
1453 variable = varDict |
1454 # Lookup the wanted attribute |
1454 # Lookup the wanted attribute |
1455 for attribute in var: |
1455 for attribute in var: |
1456 resolver = DebugVariables.getResolver(variable) |
1456 resolver = DebugVariables.getResolver(variable) |
1500 |
1500 |
1501 @param variables variables list to be processed |
1501 @param variables variables list to be processed |
1502 @type list of tuple of (str, Any) or (str, str, Any) |
1502 @type list of tuple of (str, Any) or (str, str, Any) |
1503 @param scope 1 to filter using the globals filter, 0 using the locals |
1503 @param scope 1 to filter using the globals filter, 0 using the locals |
1504 filter. |
1504 filter. |
1505 Variables are only added to the list, if their name do not match |
1505 Variables are only added to the list, if their access path does not match |
1506 any of the filter expressions. |
1506 any of the filter expressions and the 'show/no show' indication. |
1507 @type int |
1507 @type int |
1508 @param filterList list of variable types to be filtered. |
1508 @param filterList list of variable types to be filtered. |
1509 Variables are only added to the list, if their type is not |
1509 Variables are only added to the list, if their type is not |
1510 contained in the filter list. (defaults to None) |
1510 contained in the filter list. (defaults to None) |
1511 @type list of str (optional) |
1511 @type list of str (optional) |
1512 @param var list encoded name of the requested variable (defaults to None) |
1512 @param var list encoded name of the requested variable (access path) (defaults |
|
1513 to None) |
1513 @type list of str and int (optional) |
1514 @type list of str and int (optional) |
1514 @return A tuple consisting of a list of formatted variables. Each |
1515 @return A tuple consisting of a list of formatted variables. Each |
1515 variable entry is a tuple of three elements, the variable name, |
1516 variable entry is a tuple of three elements, the variable name, |
1516 its type and value. |
1517 its type and value. |
1517 @rtype list of tuple of (str, str, str) |
1518 @rtype list of tuple of (str, str, str) |