Debugger/DebuggerInterfacePython3.py

changeset 112
16893e193e9d
parent 96
9624a110667d
child 406
eacf81fad150
child 792
a13346916170
diff -r 1887e3af7b74 -r 16893e193e9d Debugger/DebuggerInterfacePython3.py
--- a/Debugger/DebuggerInterfacePython3.py	Sat Feb 13 13:00:30 2010 +0000
+++ b/Debugger/DebuggerInterfacePython3.py	Sat Feb 13 17:07:34 2010 +0000
@@ -436,16 +436,19 @@
             (RequestLoad, wd, fn, str(Utilities.parseOptionString(argv)), 
              traceInterpreter))
     
-    def remoteRun(self, fn, argv, wd):
+    def remoteRun(self, fn, argv, wd, autoFork = False, forkChild = False):
         """
         Public method to load a new program to run.
         
         @param fn the filename to run (string)
         @param argv the commandline arguments to pass to the program (string)
         @param wd the working directory for the program (string)
+        @keyparam autoFork flag indicating the automatic fork mode (boolean)
+        @keyparam forkChild flag indicating to debug the child after forking (boolean)
         """
         wd = self.translate(wd, False)
         fn = self.translate(os.path.abspath(fn), False)
+        self.__sendCommand('%s%s\n' % (RequestForkMode, repr((autoFork, forkChild))))
         self.__sendCommand('%s%s|%s|%s\n' % \
             (RequestRun, wd, fn, str(Utilities.parseOptionString(argv))))
     

eric ide

mercurial