Sun, 05 Mar 2017 16:09:50 +0100
Don't step into libraries after a QThread or threading.Thread has finished.
DebugClients/Python/ThreadExtension.py | file | annotate | diff | comparison | revisions |
--- a/DebugClients/Python/ThreadExtension.py Fri Mar 03 18:57:12 2017 +0100 +++ b/DebugClients/Python/ThreadExtension.py Sun Mar 05 16:09:50 2017 +0100 @@ -305,6 +305,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. """ @@ -357,6 +359,8 @@ except Exception: excinfo = sys.exc_info() newThread.user_exception(excinfo, True) + finally: + sys.settrace(None) class QThreadWrapper(module.QThread): """ Wrapper class for *.QThread. """