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

Class ServerThread

tests/test_pydevconsole.py:238–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 client_port, server_port = self.get_free_addresses()
237
238 class ServerThread(threading.Thread):
239 def __init__(self, client_port, server_port):
240 threading.Thread.__init__(self)
241 self.client_port = client_port
242 self.server_port = server_port
243
244 def run(self):
245 from _pydev_bundle import pydev_localhost
246
247 pydevconsole.start_server(pydev_localhost.get_localhost(), self.server_port, self.client_port)
248
249 server_thread = ServerThread(client_port, server_port)
250 server_thread.daemon = True

Callers 1

test_serverMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_serverMethod · 0.56