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

Function accept_message

tests_python/test_debugger.py:215–218  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

213
214 def wait_for_suspend():
215 def accept_message(msg):
216 if msg.startswith("%s\t" % CMD_GET_BREAKPOINT_EXCEPTION) or ('stop_reason="%s"' % REASON_STOP_ON_BREAKPOINT) in msg:
217 return True
218 return False
219
220 # Order is not guaranteed.
221 msg1 = writer.wait_for_message(accept_message)

Callers 2

wait_for_messageMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected