MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / write_disconnect

Method write_disconnect

tests_python/test_debugger_json.py:322–329  ·  view source on GitHub ↗
(self, wait_for_response=True, terminate_debugee=False)

Source from the content-addressed store, hash-verified

320 return self._write_launch_or_attach("attach", **arguments)
321
322 def write_disconnect(self, wait_for_response=True, terminate_debugee=False):
323 assert self._sent_launch_or_attach
324 self._sent_launch_or_attach = False
325 arguments = pydevd_schema.DisconnectArguments(terminateDebuggee=terminate_debugee)
326 request = pydevd_schema.DisconnectRequest(arguments=arguments)
327 self.write_request(request)
328 if wait_for_response:
329 self.wait_for_response(request)
330
331 def get_stack_as_json_hit(self, thread_id, no_stack_frame=False):
332 stack_trace_request = self.write_request(pydevd_schema.StackTraceRequest(pydevd_schema.StackTraceArguments(threadId=thread_id)))

Callers 5

test_case_json_protocolFunction · 0.95
test_wait_for_attachFunction · 0.95
test_terminateFunction · 0.95
test_access_tokenFunction · 0.95

Calls 2

write_requestMethod · 0.95
wait_for_responseMethod · 0.95

Tested by

no test coverage detected