[Lldb-commits] [PATCH] D50365: Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 6 15:24:23 PDT 2018


clayborg created this revision.
clayborg added reviewers: labath, jasonmolenda, jingham.
Herald added a subscriber: mgorny.

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.

Not sure who to add as a reviewer, so I started with a few people. Feel free to add more as needed.


https://reviews.llvm.org/D50365

Files:
  lldb.xcodeproj/project.pbxproj
  packages/Python/lldbsuite/test/dotest.py
  packages/Python/lldbsuite/test/lldbtest.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/.categories
  packages/Python/lldbsuite/test/tools/lldb-vscode/attach/Makefile
  packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/attach/main.c
  packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/Makefile
  packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/main.cpp
  packages/Python/lldbsuite/test/tools/lldb-vscode/launch/Makefile
  packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/launch/main.c
  packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/Makefile
  packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/stackTrace/main.c
  packages/Python/lldbsuite/test/tools/lldb-vscode/step/Makefile
  packages/Python/lldbsuite/test/tools/lldb-vscode/step/TestVSCode_step.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/step/main.cpp
  packages/Python/lldbsuite/test/tools/lldb-vscode/variables/Makefile
  packages/Python/lldbsuite/test/tools/lldb-vscode/variables/TestVSCode_variables.py
  packages/Python/lldbsuite/test/tools/lldb-vscode/variables/main.cpp
  packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
  tools/CMakeLists.txt
  tools/debugserver/source/JSON.cpp
  tools/debugserver/source/JSON.h
  tools/lldb-vscode/CMakeLists.txt
  tools/lldb-vscode/lldb-vscode-Info.plist
  tools/lldb-vscode/lldb-vscode.cpp
  tools/lldb-vscode/package.json

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50365.159408.patch
Type: text/x-patch
Size: 345319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180806/57012f11/attachment-0001.bin>


More information about the lldb-commits mailing list