eric6/Project/Project.py

changeset 8163
29fb6d420a25
parent 8143
2c730d5fd177
child 8164
c8b88e73b56f
diff -r 8358c3c95841 -r 29fb6d420a25 eric6/Project/Project.py
--- a/eric6/Project/Project.py	Sun Mar 14 19:59:27 2021 +0100
+++ b/eric6/Project/Project.py	Mon Mar 15 17:55:48 2021 +0100
@@ -455,6 +455,7 @@
         self.dbgAutoContinue = True
         self.dbgEnableMultiprocess = True
         self.dbgMultiprocessNoDebug = ""
+        self.dbgGlobalConfigOverride = {}
         
         self.pdata = {
             "DESCRIPTION": "",
@@ -1336,7 +1337,7 @@
     def setDbgInfo(self, venvName, argv, wd, env, excReporting, excList,
                    excIgnoreList, autoClearShell, tracePython=None,
                    autoContinue=None, enableMultiprocess=None,
-                   multiprocessNoDebug=None):
+                   multiprocessNoDebug=None, configOverride=None):
         """
         Public method to set the debugging information.
         
@@ -1369,6 +1370,9 @@
         @param multiprocessNoDebug list of programs not to be debugged in
             multi process mode
         @type str
+        @param configOverride dictionary containing the global config override
+            data
+        @type dict
         """
         self.dbgVirtualEnv = venvName
         self.dbgCmdline = argv
@@ -1386,6 +1390,8 @@
             self.dbgEnableMultiprocess = enableMultiprocess
         if multiprocessNoDebug is not None:
             self.dbgMultiprocessNoDebug = multiprocessNoDebug
+        if configOverride is not None:
+            self.dbgGlobalConfigOverride = copy.deepcopy(configOverride)
     
     def getTranslationPattern(self):
         """

eric ide

mercurial