12 import sys |
12 import sys |
13 |
13 |
14 from PyQt4.QtCore import * |
14 from PyQt4.QtCore import * |
15 from PyQt4.QtGui import * |
15 from PyQt4.QtGui import * |
16 |
16 |
17 from E4Gui.E4Application import e4App |
17 from E4Gui.E4Application import e5App |
18 |
18 |
19 from .Config import ConfigVarTypeDispStrings, ConfigVarTypeStrings |
19 from .Config import ConfigVarTypeDispStrings, ConfigVarTypeStrings |
20 from .VariableDetailDialog import VariableDetailDialog |
20 from .VariableDetailDialog import VariableDetailDialog |
21 |
21 |
22 import Preferences |
22 import Preferences |
154 while par is not None: |
154 while par is not None: |
155 pathlist.insert(0, par.text(0)) |
155 pathlist.insert(0, par.text(0)) |
156 par = par.parent() |
156 par = par.parent() |
157 |
157 |
158 # step 2: request the variable from the debugger |
158 # step 2: request the variable from the debugger |
159 filter = e4App().getObject("DebugUI").variablesFilter(self.scope) |
159 filter = e5App().getObject("DebugUI").variablesFilter(self.scope) |
160 e4App().getObject("DebugServer").remoteClientVariable(\ |
160 e5App().getObject("DebugServer").remoteClientVariable(\ |
161 self.scope, filter, pathlist, self.framenr) |
161 self.scope, filter, pathlist, self.framenr) |
162 |
162 |
163 class ArrayElementVarItem(VariableItem): |
163 class ArrayElementVarItem(VariableItem): |
164 """ |
164 """ |
165 Class implementing a VariableItem that represents an array element. |
165 Class implementing a VariableItem that represents an array element. |