diff -r 7ba79b00ea96 -r 79be00bfe50c src/eric7/Debugger/DebugUI.py --- a/src/eric7/Debugger/DebugUI.py Tue Sep 06 15:08:41 2022 +0200 +++ b/src/eric7/Debugger/DebugUI.py Wed Sep 07 15:55:49 2022 +0200 @@ -1451,10 +1451,7 @@ if ( self.exceptions and exceptionType not in self.excIgnoreList - and ( - not len(self.excList) - or (len(self.excList) and exceptionType in self.excList) - ) + and (len(self.excList) == 0 or exceptionType in self.excList) ) or (self.unhandledExceptions and exceptionType.startswith("unhandled")): res = None if stackTrace: