157 rhost = Preferences.getDebugger("RemoteHost") |
157 rhost = Preferences.getDebugger("RemoteHost") |
158 if rhost == "": |
158 if rhost == "": |
159 rhost = "localhost" |
159 rhost = "localhost" |
160 if rexec: |
160 if rexec: |
161 args = Utilities.parseOptionString(rexec) + \ |
161 args = Utilities.parseOptionString(rexec) + \ |
162 [rhost, interpreter, os.path.abspath(debugClient), |
162 [rhost, interpreter, os.path.abspath(debugClient), |
163 str(port), redirect, ipaddr] |
163 str(port), redirect, ipaddr] |
164 args[0] = Utilities.getExecutablePath(args[0]) |
164 args[0] = Utilities.getExecutablePath(args[0]) |
165 process = self.__startProcess(args[0], args[1:]) |
165 process = self.__startProcess(args[0], args[1:]) |
166 if process is None: |
166 if process is None: |
167 E5MessageBox.critical( |
167 E5MessageBox.critical( |
204 ipaddr = self.debugServer.getHostAddress(True) |
204 ipaddr = self.debugServer.getHostAddress(True) |
205 if runInConsole or Preferences.getDebugger("ConsoleDbgEnabled"): |
205 if runInConsole or Preferences.getDebugger("ConsoleDbgEnabled"): |
206 ccmd = Preferences.getDebugger("ConsoleDbgCommand") |
206 ccmd = Preferences.getDebugger("ConsoleDbgCommand") |
207 if ccmd: |
207 if ccmd: |
208 args = Utilities.parseOptionString(ccmd) + \ |
208 args = Utilities.parseOptionString(ccmd) + \ |
209 [interpreter, os.path.abspath(debugClient), |
209 [interpreter, os.path.abspath(debugClient), |
210 str(port), '0', ipaddr] |
210 str(port), '0', ipaddr] |
211 args[0] = Utilities.getExecutablePath(args[0]) |
211 args[0] = Utilities.getExecutablePath(args[0]) |
212 process = self.__startProcess(args[0], args[1:], clientEnv) |
212 process = self.__startProcess(args[0], args[1:], clientEnv) |
213 if process is None: |
213 if process is None: |
214 E5MessageBox.critical( |
214 E5MessageBox.critical( |
257 rhost = project.getDebugProperty("REMOTEHOST") |
257 rhost = project.getDebugProperty("REMOTEHOST") |
258 if rhost == "": |
258 if rhost == "": |
259 rhost = "localhost" |
259 rhost = "localhost" |
260 if rexec: |
260 if rexec: |
261 args = Utilities.parseOptionString(rexec) + \ |
261 args = Utilities.parseOptionString(rexec) + \ |
262 [rhost, interpreter, os.path.abspath(debugClient), |
262 [rhost, interpreter, os.path.abspath(debugClient), |
263 str(port), redirect, ipaddr] |
263 str(port), redirect, ipaddr] |
264 args[0] = Utilities.getExecutablePath(args[0]) |
264 args[0] = Utilities.getExecutablePath(args[0]) |
265 process = self.__startProcess(args[0], args[1:]) |
265 process = self.__startProcess(args[0], args[1:]) |
266 if process is None: |
266 if process is None: |
267 E5MessageBox.critical( |
267 E5MessageBox.critical( |
301 pass |
301 pass |
302 |
302 |
303 ipaddr = self.debugServer.getHostAddress(True) |
303 ipaddr = self.debugServer.getHostAddress(True) |
304 if runInConsole or project.getDebugProperty("CONSOLEDEBUGGER"): |
304 if runInConsole or project.getDebugProperty("CONSOLEDEBUGGER"): |
305 ccmd = project.getDebugProperty("CONSOLECOMMAND") or \ |
305 ccmd = project.getDebugProperty("CONSOLECOMMAND") or \ |
306 Preferences.getDebugger("ConsoleDbgCommand") |
306 Preferences.getDebugger("ConsoleDbgCommand") |
307 if ccmd: |
307 if ccmd: |
308 args = Utilities.parseOptionString(ccmd) + \ |
308 args = Utilities.parseOptionString(ccmd) + \ |
309 [interpreter, os.path.abspath(debugClient), |
309 [interpreter, os.path.abspath(debugClient), |
310 str(port), '0', ipaddr] |
310 str(port), '0', ipaddr] |
311 args[0] = Utilities.getExecutablePath(args[0]) |
311 args[0] = Utilities.getExecutablePath(args[0]) |
312 process = self.__startProcess(args[0], args[1:], clientEnv) |
312 process = self.__startProcess(args[0], args[1:], clientEnv) |
313 if process is None: |
313 if process is None: |
314 E5MessageBox.critical( |
314 E5MessageBox.critical( |