PyDev fixes: patch threads only once

GitOrigin-RevId: 163900e827d5233c421bd0961e06d25b3ba42806
This commit is contained in:
Andrey Lisin
2019-06-07 18:29:34 +03:00
committed by intellij-monorepo-bot
parent 034426be82
commit 1cba9cb422
-2
View File
@@ -1245,8 +1245,6 @@ class PyDB(object):
def prepare_to_run(self, enable_tracing_from_start=True):
''' Shared code to prepare debugging by installing traces and registering threads '''
self.patch_threads()
self._create_pydb_command_thread()
if self.redirect_output or self.signature_factory is not None or self.thread_analyser is not None:
# we need all data to be sent to IDE even after program finishes