DebugClients/Python/DebugBase.py

changeset 4063
b7269498aa95
parent 4021
195a471c327b
child 4080
d4ba5fab5557
diff -r 8880a520e932 -r b7269498aa95 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