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

Method wait

tests/debug/output.py:60–67  ·  view source on GitHub ↗

Wait for all remaining output to be captured.

(self, timeout=None)

Source from the content-addressed store, hash-verified

58 self._worker_threads.append(thread)
59
60 def wait(self, timeout=None):
61 """Wait for all remaining output to be captured."""
62 if not self._worker_threads:
63 return
64 log.debug("Waiting for remaining {0} output...", self.session.debuggee_id)
65 for t in self._worker_threads:
66 t.join(timeout)
67 self._worker_threads[:] = []
68
69 def _output(self, which, encoding, lines):
70 try:

Callers 7

receiveMethod · 0.45
sendMethod · 0.45
__exit__Method · 0.45
wait_for_exitMethod · 0.45
disconnectMethod · 0.45
workerFunction · 0.45
test_frozenFunction · 0.45

Calls 1

joinMethod · 0.45

Tested by 2

workerFunction · 0.36
test_frozenFunction · 0.36