MCPcopy Create free account
hub / github.com/microsoft/debugpy / timeout

Function timeout

tests/watchdog/__init__.py:82–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81def _invoke(command, *args):
82 def timeout():
83 time.sleep(WATCHDOG_TIMEOUT)
84 if timeout.occurred is None:
85 reason = _dump_worker_log(command, "timed out")
86 timeout.occurred = reason
87
88 timeout.occurred = None
89 timeout_thread = threading.Thread(target=timeout)

Callers

nothing calls this directly

Calls 1

_dump_worker_logFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…