Debugger/DebuggerInterfacePython3.py

changeset 53
c3eb7cc1ff8b
parent 40
c2e5472b112c
child 55
b5c84934de9c
equal deleted inserted replaced
52:ba69827929ee 53:c3eb7cc1ff8b
12 import socket 12 import socket
13 13
14 from PyQt4.QtCore import * 14 from PyQt4.QtCore import *
15 from PyQt4.QtGui import QInputDialog, QMessageBox 15 from PyQt4.QtGui import QInputDialog, QMessageBox
16 16
17 from E4Gui.E4Application import e4App 17 from E4Gui.E4Application import e5App
18 18
19 from .DebugProtocol import * 19 from .DebugProtocol import *
20 from . import DebugClientCapabilities 20 from . import DebugClientCapabilities
21 21
22 import Preferences 22 import Preferences
248 @param runInConsole flag indicating to start the debugger in a 248 @param runInConsole flag indicating to start the debugger in a
249 console window (boolean) 249 console window (boolean)
250 @return client process object (QProcess) and a flag to indicate 250 @return client process object (QProcess) and a flag to indicate
251 a network connection (boolean) 251 a network connection (boolean)
252 """ 252 """
253 project = e4App().getObject("Project") 253 project = e5App().getObject("Project")
254 if not project.isDebugPropertiesLoaded(): 254 if not project.isDebugPropertiesLoaded():
255 return None, self.__isNetworked 255 return None, self.__isNetworked
256 256
257 # start debugger with project specific settings 257 # start debugger with project specific settings
258 interpreter = project.getDebugProperty("INTERPRETER") 258 interpreter = project.getDebugProperty("INTERPRETER")

eric ide

mercurial