DebugClients/Python/DebugBase.py

branch
6_0_x
changeset 4064
c918bd03f0ff
parent 4022
f5f42921717e
child 4080
d4ba5fab5557
diff -r 7d7ce7fdccfd -r c918bd03f0ff DebugClients/Python/DebugBase.py
--- a/DebugClients/Python/DebugBase.py	Thu Jan 22 19:16:51 2015 +0100
+++ b/DebugClients/Python/DebugBase.py	Fri Jan 23 20:27:35 2015 +0100
@@ -636,6 +636,11 @@
         @param exctb traceback for the exception
         @param unhandled flag indicating an uncaught exception
         """
+        
+        if exctype in [GeneratorExit, StopIteration]:
+            # ignore these
+            return
+        
         if exctype in [SystemExit, bdb.BdbQuit]:
             atexit._run_exitfuncs()
             if excval is None:

eric ide

mercurial