eric6/Debugger/DebugServer.py

branch
multi_processing
changeset 7409
1413bfe73d41
parent 7408
0d58e708f57b
child 7411
6d8dcb3551b3
--- a/eric6/Debugger/DebugServer.py	Mon Feb 10 19:49:45 2020 +0100
+++ b/eric6/Debugger/DebugServer.py	Tue Feb 11 18:58:38 2020 +0100
@@ -926,7 +926,8 @@
     def remoteLoad(self, venvName, fn, argv, wd, env, autoClearShell=True,
                    tracePython=False, autoContinue=True, forProject=False,
                    runInConsole=False, autoFork=False, forkChild=False,
-                   clientType="", enableCallTrace=False):
+                   clientType="", enableCallTrace=False,
+                   enableMultiprocess=False):
         """
         Public method to load a new program to debug.
         
@@ -963,6 +964,9 @@
         @keyparam enableCallTrace flag indicating to enable the call trace
             function
         @type bool
+        @param enableMultiprocess flag indicating to perform multiprocess
+            debugging
+        @type bool
         """
         self.__autoClearShell = autoClearShell
         
@@ -992,8 +996,10 @@
         self.setCallTraceEnabled("", enableCallTrace)
         self.remoteEnvironment(env)
         
-        self.debuggerInterface.remoteLoad(fn, argv, wd, tracePython,
-                                          autoContinue, autoFork, forkChild)
+        self.debuggerInterface.remoteLoad(
+            fn, argv, wd, tracePython, autoContinue, autoFork, forkChild,
+            enableMultiprocess=enableMultiprocess
+        )
         self.debugging = True
         self.running = True
         self.__restoreBreakpoints()

eric ide

mercurial