diff -r 7631c0ba2877 -r b709f6cc205c src/eric7/eric7_ide.py --- a/src/eric7/eric7_ide.py Fri Feb 02 13:32:36 2024 +0100 +++ b/src/eric7/eric7_ide.py Fri Feb 02 13:33:55 2024 +0100 @@ -329,7 +329,9 @@ global app, args, mainWindow, splash, restartArgs, inMainLoop - sys.excepthook = excepthook + if sys.excepthook is sys.__excepthook__: + # we are not executed in the debugger - set our exception hook + sys.excepthook = excepthook if OSUtilities.isLinuxPlatform() or OSUtilities.isFreeBsdPlatform(): multiprocessing.set_start_method("spawn")