148 @param runInConsole flag indicating to start the debugger in a |
148 @param runInConsole flag indicating to start the debugger in a |
149 console window (boolean) |
149 console window (boolean) |
150 @return client process object (QProcess) and a flag to indicate |
150 @return client process object (QProcess) and a flag to indicate |
151 a network connection (boolean) |
151 a network connection (boolean) |
152 """ |
152 """ |
153 if Preferences.getDebugger("CustomPython3Interpreter"): |
153 interpreter = Preferences.getDebugger("Python3Interpreter") |
154 interpreter = Preferences.getDebugger("Python3Interpreter") |
154 if interpreter == "": |
155 if interpreter == "": |
155 E5MessageBox.critical(None, |
156 interpreter = sys.executable |
156 self.trUtf8("Start Debugger"), |
157 else: |
157 self.trUtf8( |
158 interpreter = sys.executable |
158 """<p>No Python3 interpreter configured.</p>""")) |
|
159 return None, False |
159 |
160 |
160 debugClientType = Preferences.getDebugger("DebugClientType3") |
161 debugClientType = Preferences.getDebugger("DebugClientType3") |
161 if debugClientType == "standard": |
162 if debugClientType == "standard": |
162 debugClient = os.path.join(getConfig('ericDir'), |
163 debugClient = os.path.join(getConfig('ericDir'), |
163 "DebugClients", "Python3", "DebugClient.py") |
164 "DebugClients", "Python3", "DebugClient.py") |