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

Method patch_threads

pydevd.py:2575–2587  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2573 self.start_auxiliary_daemon_threads()
2574
2575 def patch_threads(self):
2576 if PYDEVD_USE_SYS_MONITORING:
2577 pydevd_sys_monitoring.start_monitoring(all_threads=True)
2578 else:
2579 try:
2580 # not available in jython!
2581 threading.settrace(self.trace_dispatch) # for all future threads
2582 except:
2583 pass
2584
2585 from _pydev_bundle.pydev_monkey import patch_thread_modules
2586
2587 patch_thread_modules()
2588
2589 def run(self, file, globals=None, locals=None, is_module=False, set_trace=True):
2590 module_name = None

Callers 2

prepare_to_runMethod · 0.95
_locked_settraceFunction · 0.95

Calls 1

patch_thread_modulesFunction · 0.90

Tested by

no test coverage detected