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

Method request

tests/debug/session.py:517–524  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

515 )
516
517 def request(self, *args, **kwargs):
518 freeze = kwargs.pop("freeze", True)
519 raise_if_failed = kwargs.pop("raise_if_failed", True)
520 return (
521 self.send_request(*args, **kwargs)
522 .wait_for_response(freeze=freeze, raise_if_failed=raise_if_failed)
523 .body
524 )
525
526 def send_request(self, command, arguments=None, proceed=True):
527 self.before_request(command, arguments)

Callers 10

_start_channelMethod · 0.95
request_continueMethod · 0.95
set_breakpointsMethod · 0.95
get_variablesMethod · 0.95
wait_for_stopMethod · 0.95
disconnectMethod · 0.95
test_attach_pid_clientFunction · 0.95
__setitem__Method · 0.45
__exit__Method · 0.45
test_request_responseFunction · 0.45

Calls 3

send_requestMethod · 0.95
popMethod · 0.80
wait_for_responseMethod · 0.45

Tested by 2

test_attach_pid_clientFunction · 0.76
test_request_responseFunction · 0.36