[Lldb-commits] [PATCH] D50365: Add a new tool named "lldb-vscode" that implements the Visual Studio Code Debug Adaptor Protocol
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 8 08:40:34 PDT 2018
Ok sounds good then, mostly just wanted to make sure you weren't
re-inventing something that already existed :) Do you plan to publish this
on the VSCode marketplace?
On Wed, Aug 8, 2018 at 8:38 AM Greg Clayton <clayborg at gmail.com> wrote:
> It is a different protocol. The LLDB MI plugin didn't work very well as
> was quite flaky when I tested it a while back. Then I grabbed the CodeLLDB
> plugin by Vadim Chugunov and it worked very well. When I looked more
> launch a LLDB instance and then ran a python script that received all of
> the debug session. It worked very well and was rock solid stable. So I then
> created this plug-in for Nuclide for use at Facebook as they switched all
> of the debugging plug-in over to use the VSCode debug adaptor protocols. It
> works event better than the CodeLLDB plugin with Visual Studio Code and it
> also doesn't stop you from using the python interpreter. The issue I had
> with the CodeLLDB is that is uses the python interpreter to run the debug
> session thus it isn't available to you as a LLDB user.
> So long story short: our IDE at Facebook uses the VSCode protocol, MI is
> clunky and doesn't work that well and was flaky, so this tool was created.
> This also provides a really nice way to do remote debugging where the
> lldb-vscode is run remotely on other systems. This removes the need for
> copying files from a remote host up onto the system that is doing the
> On Aug 8, 2018, at 8:30 AM, Zachary Turner <zturner at google.com> wrote:
> How does this differ from VS Code's builtin LLDB MI support?
> On Wed, Aug 8, 2018 at 8:15 AM Pavel Labath via Phabricator <
> reviews at reviews.llvm.org> wrote:
>> labath added a comment.
>> To end things on a positive note: I think the test coverage is pretty
>> good (I'm sure somebody will suggest switching to lit), and I think a VS
>> code plugin would be a great addition to lldb.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits