367 rhost = project.getDebugProperty("REMOTEHOST") |
367 rhost = project.getDebugProperty("REMOTEHOST") |
368 if rhost == "": |
368 if rhost == "": |
369 rhost = "localhost" |
369 rhost = "localhost" |
370 if rexec: |
370 if rexec: |
371 args = Utilities.parseOptionString(rexec) + \ |
371 args = Utilities.parseOptionString(rexec) + \ |
372 [rhost, interpreter, os.path.abspath(debugClient), |
372 [rhost, interpreter, debugClient, noencoding, |
373 noencoding, str(port), redirect, ipaddr] |
373 str(port), redirect, ipaddr] |
374 args[0] = Utilities.getExecutablePath(args[0]) |
374 args[0] = Utilities.getExecutablePath(args[0]) |
375 process = self.__startProcess(args[0], args[1:], |
375 process = self.__startProcess(args[0], args[1:], |
376 workingDir=workingDir) |
376 workingDir=workingDir) |
377 if process is None: |
377 if process is None: |
378 E5MessageBox.critical( |
378 E5MessageBox.critical( |
389 project.getDebugProperty("LOCALPATH") |
389 project.getDebugProperty("LOCALPATH") |
390 self.translate = self.__remoteTranslation |
390 self.translate = self.__remoteTranslation |
391 else: |
391 else: |
392 self.translate = self.__identityTranslation |
392 self.translate = self.__identityTranslation |
393 return process, self.__isNetworked, "" |
393 return process, self.__isNetworked, "" |
394 |
394 else: |
|
395 # remote shell command is missing |
|
396 return None, self.__isNetworked, "" |
|
397 |
395 # set translation function |
398 # set translation function |
396 self.translate = self.__identityTranslation |
399 self.translate = self.__identityTranslation |
397 |
400 |
398 # setup the environment for the debugger |
401 # setup the environment for the debugger |
399 if project.getDebugProperty("ENVIRONMENTOVERRIDE"): |
402 if project.getDebugProperty("ENVIRONMENTOVERRIDE"): |