src/eric7/Project/Project.py

branch
eric7
changeset 10321
4a017fdf316f
parent 10320
ff28050f5dec
child 10349
df7edc29cbfb
child 10373
093dcebe5ecb
diff -r ff28050f5dec -r 4a017fdf316f src/eric7/Project/Project.py
--- a/src/eric7/Project/Project.py	Fri Nov 17 17:53:14 2023 +0100
+++ b/src/eric7/Project/Project.py	Sat Nov 18 15:18:17 2023 +0100
@@ -505,12 +505,12 @@
         self.dbgCmdline = ""
         self.dbgWd = ""
         self.dbgEnv = ""
-        self.dbgReportExceptions = True
         self.dbgExcList = []
         self.dbgExcIgnoreList = []
         self.dbgAutoClearShell = True
         self.dbgTracePython = False
         self.dbgAutoContinue = True
+        self.dbgReportAllExceptions = False
         self.dbgEnableMultiprocess = True
         self.dbgMultiprocessNoDebug = ""
         self.dbgGlobalConfigOverride = {
@@ -1611,12 +1611,12 @@
         argv,
         wd,
         env,
-        excReporting,
         excList,
         excIgnoreList,
         autoClearShell,
         tracePython=None,
         autoContinue=None,
+        reportAllExceptions=None,
         enableMultiprocess=None,
         multiprocessNoDebug=None,
         configOverride=None,
@@ -1632,8 +1632,6 @@
         @type str
         @param env environment setting
         @type str
-        @param excReporting flag indicating the highlighting of exceptions
-        @type bool
         @param excList list of exceptions to be highlighted
         @type list of str
         @param excIgnoreList list of exceptions to be ignored
@@ -1647,6 +1645,9 @@
         @param autoContinue flag indicating, that the debugger should not
             stop at the first executable line
         @type bool
+        @param reportAllExceptions flag indicating to report all exceptions
+            instead of unhandled exceptions only
+        @type bool
         @param enableMultiprocess flag indicating, that the debugger should
             run in multi process mode
         @type bool
@@ -1661,7 +1662,6 @@
         self.dbgCmdline = argv
         self.dbgWd = wd
         self.dbgEnv = env
-        self.dbgReportExceptions = excReporting
         self.dbgExcList = excList[:]  # keep a copy of the list
         self.dbgExcIgnoreList = excIgnoreList[:]  # keep a copy of the list
         self.dbgAutoClearShell = autoClearShell
@@ -1669,6 +1669,8 @@
             self.dbgTracePython = tracePython
         if autoContinue is not None:
             self.dbgAutoContinue = autoContinue
+        if reportAllExceptions is not None:
+            self.dbgReportAllExceptions = reportAllExceptions
         if enableMultiprocess is not None:
             self.dbgEnableMultiprocess = enableMultiprocess
         if multiprocessNoDebug is not None:

eric ide

mercurial