diff -r 24c0c1066090 -r e65379fdbd97 src/eric7/DebugClients/Python/DebugBase.py --- a/src/eric7/DebugClients/Python/DebugBase.py Wed Nov 02 10:12:25 2022 +0100 +++ b/src/eric7/DebugClients/Python/DebugBase.py Wed Nov 02 12:07:01 2022 +0100 @@ -167,7 +167,7 @@ cf = cf.f_back frmnr -= 1 - with contextlib.suppress(Exception): + with contextlib.suppress(ImportError, AttributeError): if "__pypy__" in sys.builtin_module_names: import __pypy__