From 2614c8a623155ce3b257d22fc9d95d108b18a2d9 Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Sat, 9 Dec 2017 02:40:46 +0100 Subject: [PATCH] Don't hook to CrashHandler, if we are debugging Getting an early crash here. Hope that one helps. --- cura_app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cura_app.py b/cura_app.py index c719fe3e10..a09b5b07dc 100755 --- a/cura_app.py +++ b/cura_app.py @@ -73,7 +73,8 @@ def exceptHook(hook_type, value, traceback): _crash_handler = CrashHandler(hook_type, value, traceback) _crash_handler.show() -sys.excepthook = exceptHook +if not known_args["debug"]: + sys.excepthook = exceptHook # Workaround for a race condition on certain systems where there # is a race condition between Arcus and PyQt. Importing Arcus