src/eric7/Debugger/DebugUI.py

branch
eric7
changeset 9315
79be00bfe50c
parent 9291
7b271bcd12d0
child 9377
b9c8dc3b7da1
equal deleted inserted replaced
9314:7ba79b00ea96 9315:79be00bfe50c
1449 return 1449 return
1450 1450
1451 if ( 1451 if (
1452 self.exceptions 1452 self.exceptions
1453 and exceptionType not in self.excIgnoreList 1453 and exceptionType not in self.excIgnoreList
1454 and ( 1454 and (len(self.excList) == 0 or exceptionType in self.excList)
1455 not len(self.excList)
1456 or (len(self.excList) and exceptionType in self.excList)
1457 )
1458 ) or (self.unhandledExceptions and exceptionType.startswith("unhandled")): 1455 ) or (self.unhandledExceptions and exceptionType.startswith("unhandled")):
1459 res = None 1456 res = None
1460 if stackTrace: 1457 if stackTrace:
1461 with contextlib.suppress(UnicodeError, OSError): 1458 with contextlib.suppress(UnicodeError, OSError):
1462 file, line = stackTrace[0][:2] 1459 file, line = stackTrace[0][:2]

eric ide

mercurial