MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / resume_threads

Function resume_threads

_pydevd_bundle/pydevd_thread_lifecycle.py:62–79  ·  view source on GitHub ↗
(thread_id, except_thread=None)

Source from the content-addressed store, hash-verified

60
61
62def resume_threads(thread_id, except_thread=None):
63 pydev_log.info("Resuming threads: %s (except thread: %s)", thread_id, except_thread)
64 threads = []
65 if thread_id == "*":
66 threads = pydevd_utils.get_non_pydevd_threads()
67
68 elif thread_id.startswith("__frame__:"):
69 pydev_log.critical("Can't make tasklet run: %s", thread_id)
70
71 else:
72 threads = [pydevd_find_thread_by_id(thread_id)]
73
74 for t in threads:
75 if t is None or t is except_thread:
76 pydev_log.info("Skipped resuming thread: %s", t)
77 continue
78
79 internal_run_thread(t, set_additional_thread_info=set_additional_thread_info)
80
81
82from _pydevd_bundle.pydevd_constants import ForkSafeLock

Callers 4

request_resume_threadMethod · 0.90
internal_step_in_threadFunction · 0.90
internal_smart_step_intoFunction · 0.90

Calls 3

pydevd_find_thread_by_idFunction · 0.85
internal_run_threadFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected