Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adapt...
authorGreg Clayton <gclayton@apple.com>
Thu, 16 Aug 2018 17:59:38 +0000 (17:59 +0000)
committerGreg Clayton <gclayton@apple.com>
Thu, 16 Aug 2018 17:59:38 +0000 (17:59 +0000)
commit2f5cf8511a3f0ad97db2acf51c6c9ea0ddc9da92
tree43ad29bf650e6570830784ff0aa4cfc2ccab5807
parentcecc9f5828615c07192a31c7ba8cfda5d26f3cfc
Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol

This patch adds a new lldb-vscode tool that speaks the Microsoft Visual Studio Code debug adaptor protocol. It has full unit tests that test all packets.

This tool can be easily packaged up into a native extension and used with Visual Studio Code, and it can also be used by Nuclide

Differential Revision: https://reviews.llvm.org/D50365

llvm-svn: 339911
48 files changed:
lldb/lldb.xcodeproj/project.pbxproj
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/.categories [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/main.cpp [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/main.c [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/step/main.cpp [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/variables/main.cpp [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py [new file with mode: 0644]
lldb/tools/CMakeLists.txt
lldb/tools/lldb-vscode/BreakpointBase.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/BreakpointBase.h [new file with mode: 0644]
lldb/tools/lldb-vscode/CMakeLists.txt [new file with mode: 0644]
lldb/tools/lldb-vscode/ExceptionBreakpoint.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/ExceptionBreakpoint.h [new file with mode: 0644]
lldb/tools/lldb-vscode/FunctionBreakpoint.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/FunctionBreakpoint.h [new file with mode: 0644]
lldb/tools/lldb-vscode/JSONUtils.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/JSONUtils.h [new file with mode: 0644]
lldb/tools/lldb-vscode/LLDBUtils.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/LLDBUtils.h [new file with mode: 0644]
lldb/tools/lldb-vscode/README.md [new file with mode: 0644]
lldb/tools/lldb-vscode/SourceBreakpoint.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/SourceBreakpoint.h [new file with mode: 0644]
lldb/tools/lldb-vscode/SourceReference.h [new file with mode: 0644]
lldb/tools/lldb-vscode/VSCode.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/VSCode.h [new file with mode: 0644]
lldb/tools/lldb-vscode/VSCodeForward.h [new file with mode: 0644]
lldb/tools/lldb-vscode/lldb-vscode-Info.plist [new file with mode: 0644]
lldb/tools/lldb-vscode/lldb-vscode.cpp [new file with mode: 0644]
lldb/tools/lldb-vscode/package.json [new file with mode: 0644]