DebugClients/Python/DebugClientBase.py

branch
5_2_x
changeset 1728
47aefd5dc62f
parent 1707
033317caabaf
child 2157
aa3bdc7cb686
--- a/DebugClients/Python/DebugClientBase.py	Tue Mar 20 19:47:18 2012 +0100
+++ b/DebugClients/Python/DebugClientBase.py	Wed Mar 21 20:14:45 2012 +0100
@@ -1333,6 +1333,9 @@
                         try:
                             exec 'mdict = dict%s.__dict__' % access
                             ndict.update(mdict)     # __IGNORE_WARNING__
+                        except:
+                            pass
+                        try:
                             exec 'mcdict = dict%s.__class__.__dict__' % access
                             ndict.update(mcdict)     # __IGNORE_WARNING__
                             exec 'obj = dict%s' % access
@@ -1394,7 +1397,7 @@
                     vlist = []
             else:
                 qtVariable = False
-                if len(udict) > 0:
+                if len(dict) == 0 and len(udict) > 0:
                     if access:
                         exec 'qvar = udict%s' % access
                     # this has to be in line with VariablesViewer.indicators

eric ide

mercurial