Sun, 05 Mar 2017 16:09:50 +0100
Don't step into libraries after a QThread or threading.Thread has finished.
(grafted from 0f5d29acc8eaa6b8629586aac56833cb02a59698)
DebugClients/Python/ThreadExtension.py | file | annotate | diff | comparison | revisions |
--- a/DebugClients/Python/ThreadExtension.py Sun Mar 05 16:17:28 2017 +0100 +++ b/DebugClients/Python/ThreadExtension.py Sun Mar 05 16:09:50 2017 +0100 @@ -306,6 +306,8 @@ except Exception: excinfo = sys.exc_info() newThread.user_exception(excinfo, True) + finally: + sys.settrace(None) class ThreadWrapper(module.Thread): """ Wrapper class for threading.Thread. """ @@ -358,6 +360,8 @@ except Exception: excinfo = sys.exc_info() newThread.user_exception(excinfo, True) + finally: + sys.settrace(None) class QThreadWrapper(module.QThread): """ Wrapper class for *.QThread. """