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