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

Method __init__

_pydevd_bundle/pydevd_comm.py:366–375  ·  view source on GitHub ↗
(self, sock, py_db, terminate_on_socket_close=True)

Source from the content-addressed store, hash-verified

364 """writer thread writes out the commands in an infinite loop"""
365
366 def __init__(self, sock, py_db, terminate_on_socket_close=True):
367 PyDBDaemonThread.__init__(self, py_db)
368 self.sock = sock
369 self.__terminate_on_socket_close = terminate_on_socket_close
370 self.name = "pydevd.Writer"
371 self._cmd_queue = _queue.Queue()
372 if pydevd_vm_type.get_vm_type() == "python":
373 self.timeout = 0
374 else:
375 self.timeout = 0.1
376
377 def add_command(self, cmd):
378 """cmd is NetCommand"""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected