(thread_id, except_thread=None)
| 60 | |
| 61 | |
| 62 | def 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 | |
| 82 | from _pydevd_bundle.pydevd_constants import ForkSafeLock |
no test coverage detected