clayborg added a comment.
I added Jim and Pavel to get some more feedback.
The main issue is the Visual Studio Code debug adaptors like lldb-vscode
receive and send packets on STDIN and STDOUT. The debugger is created during
the "initialize" request which expects a response. If the debugger tri
clayborg added a comment.
After thinking about this a bit more, it seems a mistake that we can't change
the file handles _prior_ to sourcing the init files. I have proposed one
solution in the inline comments to create a new SBDebugger::Create() method
that takes the input output and error file
yinghuitan created this revision.
yinghuitan added reviewers: clayborg, aadsm.
yinghuitan requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
VScode DAP client uses stdout to receive protocol message. This means any
stdout/stderr from debugger