DebugClients/Python3/DebugClientBase.py

changeset 2991
226481ff40d1
parent 2987
c99695c0f13a
child 3021
801289962f4e
equal deleted inserted replaced
2990:583beaf0b4b8 2991:226481ff40d1
1534 else: 1534 else:
1535 qtVariable = False 1535 qtVariable = False
1536 if len(dict) == 0 and len(udict) > 0: 1536 if len(dict) == 0 and len(udict) > 0:
1537 if access: 1537 if access:
1538 loc = {"udict": udict} 1538 loc = {"udict": udict}
1539 exec('qvar = udict{0!s}'.format(access), globals(), loc) 1539 exec('qvar = udict{0!s}'.format(access),
1540 globals(), loc)
1540 qvar = loc["qvar"] 1541 qvar = loc["qvar"]
1541 # this has to be in line with VariablesViewer.indicators 1542 # this has to be in line with VariablesViewer.indicators
1542 elif rvar and rvar[0][-2:] in ["[]", "()", "{}"]: 1543 elif rvar and rvar[0][-2:] in ["[]", "()", "{}"]:
1543 loc = {"udict": udict} 1544 loc = {"udict": udict}
1544 exec('qvar = udict["{0!s}"][{1!s}]'.format( 1545 exec('qvar = udict["{0!s}"][{1!s}]'.format(

eric ide

mercurial