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

Class EchoThread

tests/debugpy/test_evaluate.py:639–651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637 debuggee.setup()
638
639 class EchoThread(threading.Thread):
640 def __init__(self, queue):
641 threading.Thread.__init__(self)
642 self._queue = queue
643
644 def run(self):
645 while True:
646 obj = self._queue.get()
647 if obj == "finish":
648 break
649
650 print("processed", obj.value)
651 obj.event.set()
652
653 class NotificationObject(object):
654 def __init__(self, value):

Callers 1

code_to_debugFunction · 0.70

Calls

no outgoing calls

Tested by 1

code_to_debugFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…