Tue, 21 Mar 2017 21:54:13 +0100
Was only valid, if thread module has been explicitly imported before threading.
DebugClients/Python/ThreadExtension.py | file | annotate | diff | comparison | revisions |
--- a/DebugClients/Python/ThreadExtension.py Tue Mar 21 19:59:59 2017 +0100 +++ b/DebugClients/Python/ThreadExtension.py Tue Mar 21 21:54:13 2017 +0100 @@ -297,7 +297,8 @@ @param run the run method of threading.Thread @type method pointer """ - newThread = _debugClient.threads[self.ident] + newThread = DebugBase(_debugClient) + _debugClient.threads[self.ident] = newThread newThread.name = self.name # see DebugBase.bootstrap sys.settrace(newThread.trace_dispatch)