190 rhost = Preferences.getDebugger("RemoteHost") |
190 rhost = Preferences.getDebugger("RemoteHost") |
191 if rhost == "": |
191 if rhost == "": |
192 rhost = "localhost" |
192 rhost = "localhost" |
193 if rexec: |
193 if rexec: |
194 args = Utilities.parseOptionString(rexec) + \ |
194 args = Utilities.parseOptionString(rexec) + \ |
195 [rhost, interpreter, os.path.abspath(debugClient), |
195 [rhost, interpreter, os.path.abspath(debugClient), |
196 noencoding, str(port), redirect, ipaddr] |
196 noencoding, str(port), redirect, ipaddr] |
197 args[0] = Utilities.getExecutablePath(args[0]) |
197 args[0] = Utilities.getExecutablePath(args[0]) |
198 process = self.__startProcess(args[0], args[1:]) |
198 process = self.__startProcess(args[0], args[1:]) |
199 if process is None: |
199 if process is None: |
200 E5MessageBox.critical( |
200 E5MessageBox.critical( |
237 ipaddr = self.debugServer.getHostAddress(True) |
237 ipaddr = self.debugServer.getHostAddress(True) |
238 if runInConsole or Preferences.getDebugger("ConsoleDbgEnabled"): |
238 if runInConsole or Preferences.getDebugger("ConsoleDbgEnabled"): |
239 ccmd = Preferences.getDebugger("ConsoleDbgCommand") |
239 ccmd = Preferences.getDebugger("ConsoleDbgCommand") |
240 if ccmd: |
240 if ccmd: |
241 args = Utilities.parseOptionString(ccmd) + \ |
241 args = Utilities.parseOptionString(ccmd) + \ |
242 [interpreter, os.path.abspath(debugClient), |
242 [interpreter, os.path.abspath(debugClient), |
243 noencoding, str(port), '0', ipaddr] |
243 noencoding, str(port), '0', ipaddr] |
244 args[0] = Utilities.getExecutablePath(args[0]) |
244 args[0] = Utilities.getExecutablePath(args[0]) |
245 process = self.__startProcess(args[0], args[1:], clientEnv) |
245 process = self.__startProcess(args[0], args[1:], clientEnv) |
246 if process is None: |
246 if process is None: |
247 E5MessageBox.critical( |
247 E5MessageBox.critical( |
292 rhost = project.getDebugProperty("REMOTEHOST") |
292 rhost = project.getDebugProperty("REMOTEHOST") |
293 if rhost == "": |
293 if rhost == "": |
294 rhost = "localhost" |
294 rhost = "localhost" |
295 if rexec: |
295 if rexec: |
296 args = Utilities.parseOptionString(rexec) + \ |
296 args = Utilities.parseOptionString(rexec) + \ |
297 [rhost, interpreter, os.path.abspath(debugClient), |
297 [rhost, interpreter, os.path.abspath(debugClient), |
298 noencoding, str(port), redirect, ipaddr] |
298 noencoding, str(port), redirect, ipaddr] |
299 args[0] = Utilities.getExecutablePath(args[0]) |
299 args[0] = Utilities.getExecutablePath(args[0]) |
300 process = self.__startProcess(args[0], args[1:]) |
300 process = self.__startProcess(args[0], args[1:]) |
301 if process is None: |
301 if process is None: |
302 E5MessageBox.critical( |
302 E5MessageBox.critical( |
336 pass |
336 pass |
337 |
337 |
338 ipaddr = self.debugServer.getHostAddress(True) |
338 ipaddr = self.debugServer.getHostAddress(True) |
339 if runInConsole or project.getDebugProperty("CONSOLEDEBUGGER"): |
339 if runInConsole or project.getDebugProperty("CONSOLEDEBUGGER"): |
340 ccmd = project.getDebugProperty("CONSOLECOMMAND") or \ |
340 ccmd = project.getDebugProperty("CONSOLECOMMAND") or \ |
341 Preferences.getDebugger("ConsoleDbgCommand") |
341 Preferences.getDebugger("ConsoleDbgCommand") |
342 if ccmd: |
342 if ccmd: |
343 args = Utilities.parseOptionString(ccmd) + \ |
343 args = Utilities.parseOptionString(ccmd) + \ |
344 [interpreter, os.path.abspath(debugClient), |
344 [interpreter, os.path.abspath(debugClient), |
345 noencoding, str(port), '0', ipaddr] |
345 noencoding, str(port), '0', ipaddr] |
346 args[0] = Utilities.getExecutablePath(args[0]) |
346 args[0] = Utilities.getExecutablePath(args[0]) |
347 process = self.__startProcess(args[0], args[1:], clientEnv) |
347 process = self.__startProcess(args[0], args[1:], clientEnv) |
348 if process is None: |
348 if process is None: |
349 E5MessageBox.critical( |
349 E5MessageBox.critical( |