Debugger/VariablesViewer.py

changeset 53
c3eb7cc1ff8b
parent 45
9a18f4dbb493
child 55
b5c84934de9c
equal deleted inserted replaced
52:ba69827929ee 53:c3eb7cc1ff8b
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.
709 709
710 def __configure(self): 710 def __configure(self):
711 """ 711 """
712 Private method to open the configuration dialog. 712 Private method to open the configuration dialog.
713 """ 713 """
714 e4App().getObject("UserInterface").showPreferences("debuggerGeneralPage") 714 e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage")

eric ide

mercurial