Wed, 07 Jun 2017 21:38:57 +0200
Display uncaught GeneratorExit and StopIteration exceptions.
DebugClients/Python/DebugBase.py | file | annotate | diff | comparison | revisions |
--- 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