--- a/eric6/DebugClients/Python/DebugVariables.py Wed Jul 21 17:52:39 2021 +0200 +++ b/eric6/DebugClients/Python/DebugVariables.py Tue Jul 27 19:22:37 2021 +0200 @@ -208,7 +208,7 @@ try: return var[int(attribute)] except Exception: - return getattr(var, attribute, None) + return getattr(var, str(attribute), None) def getDictionary(self, var): """