eric6/Debugger/DebugUI.py

branch
jsonfiles
changeset 8009
29818ac4853c
parent 7986
2971d5d19951
child 8010
7ce2b8bb0d9b
--- a/eric6/Debugger/DebugUI.py	Mon Jan 25 20:07:51 2021 +0100
+++ b/eric6/Debugger/DebugUI.py	Wed Jan 27 15:09:20 2021 +0100
@@ -1714,7 +1714,8 @@
                 # save the info for later use
                 self.project.setDbgInfo(
                     lastUsedVenvName, argv, wd, env, exceptions, self.excList,
-                    self.excIgnoreList, clearShell)
+                    self.excIgnoreList, clearShell
+                )
                 
                 self.lastStartAction = 6
                 self.clientType = self.project.getProjectLanguage()
@@ -1850,7 +1851,8 @@
                 # save the info for later use
                 self.project.setDbgInfo(
                     lastUsedVenvName, argv, wd, env, exceptions, self.excList,
-                    self.excIgnoreList, clearShell)
+                    self.excIgnoreList, clearShell
+                )
                 
                 self.lastStartAction = 8
                 self.clientType = self.project.getProjectLanguage()
@@ -1985,7 +1987,8 @@
                 # save the info for later use
                 self.project.setDbgInfo(
                     lastUsedVenvName, argv, wd, env, exceptions, self.excList,
-                    self.excIgnoreList, clearShell)
+                    self.excIgnoreList, clearShell
+                )
                 
                 self.lastStartAction = 4
                 self.clientType = self.project.getProjectLanguage()
@@ -2123,7 +2126,10 @@
                 self.project.setDbgInfo(
                     lastUsedVenvName, argv, wd, env, exceptions, self.excList,
                     self.excIgnoreList, clearShell, tracePython=tracePython,
-                    autoContinue=self.autoContinue)
+                    autoContinue=autoContinue,
+                    enableMultiprocess=enableMultiprocess,
+                    multiprocessNoDebug=multiprocessNoDebug
+                )
                 
                 self.lastStartAction = 2
                 self.clientType = self.project.getProjectLanguage()
@@ -2548,3 +2554,13 @@
             if noDebugList in self.multiprocessNoDebugHistory:
                 self.multiprocessNoDebugHistory.remove(noDebugList)
             self.multiprocessNoDebugHistory.insert(0, noDebugList)
+    
+    def setEnableMultiprocess(self, enableMultiprocess):
+        """
+        Public slot to initialize the enableMultiprocess flag.
+        
+        @param enableMultiprocess flag indicating, that the debugger should be
+            run in multi process mode
+        @type bool
+        """
+        self.enableMultiprocess = enableMultiprocess

eric ide

mercurial