mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not start CheckOutPutThread in subprocesses without alive threads (PY-14969
) If there is no alive threads, CheckOutputThread breaks debug session.
This commit is contained in:
@@ -2033,7 +2033,10 @@ def _locked_settrace(
|
||||
atexit.register(stoptrace)
|
||||
|
||||
PyDBCommandThread(debugger).start()
|
||||
CheckOutputThread(debugger).start()
|
||||
if debugger.haveAliveThreads():
|
||||
CheckOutputThread(debugger).start()
|
||||
else:
|
||||
PydevdLog(2, "Do not start CheckOutputThread in process", os.getpid())
|
||||
|
||||
#Suspend as the last thing after all tracing is in place.
|
||||
if suspend:
|
||||
|
||||
Reference in New Issue
Block a user