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

Method stdout_lines

tests/debug/output.py:98–103  ·  view source on GitHub ↗

Returns stdout captured from the debugged process, as a list of lines. If encoding is None, each line is bytes. Otherwise, each line is str.

(self, encoding=None)

Source from the content-addressed store, hash-verified

96 return self._output("stderr", encoding, lines=False)
97
98 def stdout_lines(self, encoding=None):
99 """Returns stdout captured from the debugged process, as a list of lines.
100
101 If encoding is None, each line is bytes. Otherwise, each line is str.
102 """
103 return self._output("stdout", encoding, lines=True)
104
105 def stderr_lines(self, encoding=None):
106 """Returns stderr captured from the debugged process, as a list of lines.

Callers

nothing calls this directly

Calls 1

_outputMethod · 0.95

Tested by

no test coverage detected