DebugClients/Python/DebugBase.py

changeset 5757
9a4e28d0b3c4
parent 5717
b7dd23b4e728
child 5761
f9e1e4e50b33
diff -r 83fe98028532 -r 9a4e28d0b3c4 DebugClients/Python/DebugBase.py
--- a/DebugClients/Python/DebugBase.py	Tue Jun 06 19:52:41 2017 +0200
+++ b/DebugClients/Python/DebugBase.py	Wed Jun 07 21:38:57 2017 +0200
@@ -796,7 +796,9 @@
         """
         exctype, excval, exctb = excinfo
         
-        if exctype in [GeneratorExit, StopIteration, SystemExit]:
+        if ((exctype in [GeneratorExit, StopIteration] and
+                unhandled == False) or
+                exctype == SystemExit):
             # ignore these
             return
         

eric ide

mercurial