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

Method _on_run

_pydevd_bundle/pydevd_timeout.py:35–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33 self._lock = ThreadingLock()
34
35 def _on_run(self):
36 wait_time = None
37 while not self._kill_received:
38 if _DEBUG:
39 if wait_time is None:
40 pydev_log.critical("pydevd_timeout: Wait until a new handle is added.")
41 else:
42 pydev_log.critical("pydevd_timeout: Next wait time: %s.", wait_time)
43 self._event.wait(wait_time)
44
45 if self._kill_received:
46 self._handles = []
47 return
48
49 wait_time = self.process_handles()
50
51 def process_handles(self):
52 """

Callers

nothing calls this directly

Calls 2

process_handlesMethod · 0.95
waitMethod · 0.45

Tested by

no test coverage detected