src/eric7/DebugClients/Python/DebugBase.py

branch
eric7
changeset 10321
4a017fdf316f
parent 10290
a362e5d5bf66
child 10331
c1a2ff7e3575
diff -r ff28050f5dec -r 4a017fdf316f src/eric7/DebugClients/Python/DebugBase.py
--- a/src/eric7/DebugClients/Python/DebugBase.py	Fri Nov 17 17:53:14 2023 +0100
+++ b/src/eric7/DebugClients/Python/DebugBase.py	Sat Nov 18 15:18:17 2023 +0100
@@ -877,7 +877,11 @@
         exctype, excval, exctb = excinfo
 
         if (
-            exctype in [GeneratorExit, StopIteration] and unhandled is False
+            not unhandled
+            and (
+                exctype in [GeneratorExit, StopIteration]
+                or not self._dbgClient.reportAllExceptions
+            )
         ) or exctype == SystemExit:
             # ignore these
             return

eric ide

mercurial