Debugger/DebuggerInterfacePython3.py

changeset 112
16893e193e9d
parent 96
9624a110667d
child 406
eacf81fad150
child 792
a13346916170
equal deleted inserted replaced
111:1887e3af7b74 112:16893e193e9d
434 self.__sendCommand('%s%s\n' % (RequestForkMode, repr((autoFork, forkChild)))) 434 self.__sendCommand('%s%s\n' % (RequestForkMode, repr((autoFork, forkChild))))
435 self.__sendCommand('%s%s|%s|%s|%d\n' % \ 435 self.__sendCommand('%s%s|%s|%s|%d\n' % \
436 (RequestLoad, wd, fn, str(Utilities.parseOptionString(argv)), 436 (RequestLoad, wd, fn, str(Utilities.parseOptionString(argv)),
437 traceInterpreter)) 437 traceInterpreter))
438 438
439 def remoteRun(self, fn, argv, wd): 439 def remoteRun(self, fn, argv, wd, autoFork = False, forkChild = False):
440 """ 440 """
441 Public method to load a new program to run. 441 Public method to load a new program to run.
442 442
443 @param fn the filename to run (string) 443 @param fn the filename to run (string)
444 @param argv the commandline arguments to pass to the program (string) 444 @param argv the commandline arguments to pass to the program (string)
445 @param wd the working directory for the program (string) 445 @param wd the working directory for the program (string)
446 @keyparam autoFork flag indicating the automatic fork mode (boolean)
447 @keyparam forkChild flag indicating to debug the child after forking (boolean)
446 """ 448 """
447 wd = self.translate(wd, False) 449 wd = self.translate(wd, False)
448 fn = self.translate(os.path.abspath(fn), False) 450 fn = self.translate(os.path.abspath(fn), False)
451 self.__sendCommand('%s%s\n' % (RequestForkMode, repr((autoFork, forkChild))))
449 self.__sendCommand('%s%s|%s|%s\n' % \ 452 self.__sendCommand('%s%s|%s|%s\n' % \
450 (RequestRun, wd, fn, str(Utilities.parseOptionString(argv)))) 453 (RequestRun, wd, fn, str(Utilities.parseOptionString(argv))))
451 454
452 def remoteCoverage(self, fn, argv, wd, erase = False): 455 def remoteCoverage(self, fn, argv, wd, erase = False):
453 """ 456 """

eric ide

mercurial