[Lldb-commits] [PATCH] D93951: [vscode] Improve runInTerminal and support linux
walter erquinigo via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 8 15:08:52 PST 2021
wallace updated this revision to Diff 315527.
wallace added a comment.
Followed all the suggestions:
- This is POSIX-only, but making it work for windows should only require deleting a few #ifdef blocks and using the CreateNamedPipe API instead of mkfifo. I'll do it later in another diff.
- Added more tests covering different possible failures and making sure that environment variables are passed correctly.
- Now using JSON for the messages. That will make more robust if in the future we need to send more information back to the debugger.
- I tried to keep it as simple as possible, but still created a few abstractions to keep each piece very readable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93951/new/
https://reviews.llvm.org/D93951
Files:
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
lldb/test/API/tools/lldb-vscode/runInTerminal/TestVSCode_runInTerminal.py
lldb/tools/lldb-vscode/CMakeLists.txt
lldb/tools/lldb-vscode/FifoFiles.cpp
lldb/tools/lldb-vscode/FifoFiles.h
lldb/tools/lldb-vscode/JSONUtils.cpp
lldb/tools/lldb-vscode/JSONUtils.h
lldb/tools/lldb-vscode/Options.td
lldb/tools/lldb-vscode/RunInTerminal.cpp
lldb/tools/lldb-vscode/RunInTerminal.h
lldb/tools/lldb-vscode/VSCode.h
lldb/tools/lldb-vscode/lldb-vscode.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93951.315527.patch
Type: text/x-patch
Size: 38742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210108/9e23a0b8/attachment-0001.bin>
More information about the lldb-commits
mailing list