DebugClients/Python/DebugClientThreads.py

branch
6_0_x
changeset 4188
447bd181896b
parent 4022
f5f42921717e
child 4541
e8ddd9d76414
diff -r 07030b761baf -r 447bd181896b DebugClients/Python/DebugClientThreads.py
--- a/DebugClients/Python/DebugClientThreads.py	Thu Mar 26 22:20:47 2015 +0100
+++ b/DebugClients/Python/DebugClientThreads.py	Sat Mar 28 12:11:11 2015 +0100
@@ -103,6 +103,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