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

Method read_msg

tests/test_jyserver.py:119–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 return t, sock
118
119 def read_msg(self):
120 msg = "@@PROCESSING_END@@"
121 while msg.startswith("@@PROCESSING"):
122 msg = self.socket.recv(1024)
123 if msg.startswith("@@PROCESSING:"):
124 dbg("Status msg:" + str(msg))
125
126 while msg.find("END@@") == -1:
127 msg += self.socket.recv(1024)
128
129 return msg
130
131 def send_kill_msg(self, socket):
132 socket.send(pycompletionserver.MSG_KILL_SERVER)

Calls 3

recvMethod · 0.80
dbgFunction · 0.70
findMethod · 0.45

Tested by

no test coverage detected