875 @type bool |
875 @type bool |
876 """ |
876 """ |
877 exctype, excval, exctb = excinfo |
877 exctype, excval, exctb = excinfo |
878 |
878 |
879 if ( |
879 if ( |
880 exctype in [GeneratorExit, StopIteration] and unhandled is False |
880 not unhandled |
|
881 and ( |
|
882 exctype in [GeneratorExit, StopIteration] |
|
883 or not self._dbgClient.reportAllExceptions |
|
884 ) |
881 ) or exctype == SystemExit: |
885 ) or exctype == SystemExit: |
882 # ignore these |
886 # ignore these |
883 return |
887 return |
884 |
888 |
885 if exctype in [SyntaxError, IndentationError]: |
889 if exctype in [SyntaxError, IndentationError]: |