DebugClients/Python3/DebugClientThreads.py

changeset 4187
61fd08bac49b
parent 4021
195a471c327b
child 4541
e8ddd9d76414
--- a/DebugClients/Python3/DebugClientThreads.py	Sat Mar 28 11:49:02 2015 +0100
+++ b/DebugClients/Python3/DebugClientThreads.py	Sat Mar 28 12:11:11 2015 +0100
@@ -104,6 +104,8 @@
                     sys.setprofile(newThread.profile)
             else:
                 ident = _original_start_thread(newThread.bootstrap, ())
+                if self.mainThread is not None:
+                    self.tracePython = self.mainThread.tracePython
             newThread.set_ident(ident)
             self.threads[newThread.get_ident()] = newThread
         finally:

eric ide

mercurial