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 |
249 @param runInConsole flag indicating to start the debugger in a |
249 @param runInConsole flag indicating to start the debugger in a |
250 console window (boolean) |
250 console window (boolean) |
251 @return client process object (QProcess) and a flag to indicate |
251 @return client process object (QProcess) and a flag to indicate |
252 a network connection (boolean) |
252 a network connection (boolean) |
253 """ |
253 """ |
254 project = e4App().getObject("Project") |
254 project = e5App().getObject("Project") |
255 if not project.isDebugPropertiesLoaded(): |
255 if not project.isDebugPropertiesLoaded(): |
256 return None, self.__isNetworked |
256 return None, self.__isNetworked |
257 |
257 |
258 # start debugger with project specific settings |
258 # start debugger with project specific settings |
259 interpreter = project.getDebugProperty("INTERPRETER") |
259 interpreter = project.getDebugProperty("INTERPRETER") |