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

Method output

tests/debug/session.py:735–740  ·  view source on GitHub ↗

Returns all output of a given category as a single string, assembled from all the "output" events received for that category so far.

(self, category)

Source from the content-addressed store, hash-verified

733 ]
734
735 def output(self, category):
736 """Returns all output of a given category as a single string, assembled from
737 all the "output" events received for that category so far.
738 """
739 events = self.all_events("output", some.dict.containing({"category": category}))
740 return "".join(event("output", str) for event in events)
741
742 def _request_start(self, method):
743 self.config.normalize()

Callers 9

test_with_no_outputFunction · 0.80
test_with_tab_in_outputFunction · 0.80
test_redirect_outputFunction · 0.80
test_non_ascii_outputFunction · 0.80
test_pythonw_outputFunction · 0.80
test_log_pointFunction · 0.80
test_nodebugFunction · 0.80

Calls 2

all_eventsMethod · 0.95
joinMethod · 0.45

Tested by 9

test_with_no_outputFunction · 0.64
test_with_tab_in_outputFunction · 0.64
test_redirect_outputFunction · 0.64
test_non_ascii_outputFunction · 0.64
test_pythonw_outputFunction · 0.64
test_log_pointFunction · 0.64
test_nodebugFunction · 0.64