<div dir="ltr"><div>FYI - I've been maintaining a similar <a href="https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb">VSCode extension</a>, which does it all through LLDB's Python interface. <br><br></div>As for testing, the protocol is JSON with HTTP-like headers for framing, so you could have a Python script emulating the VSCode side.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 14, 2018 at 2:28 PM, Greg Clayton via lldb-dev <span dir="ltr"><<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a patch I will be submitting soon that adds a tool called "lldb-vscode" that is much like "lldb-mi" where it sits on top of LLDB.framework on Darwin and liblldb.so on all other platforms, and it speaks the Visual Studio Code Debug adaptor language and can be used to create a VSCode extension that does native LLDB debugging. The plug-in works really well to debug native apps and is very responsive and quick.<br>
<br>
One issue I am thinking about is how to test this. Some VS Code tests out there use Javascript + npm to run a mock VSCode IDE and send/receive packets. I am not sure we can require people to have this on all build bots. So I am writing to get everyone's opinion on this so I can test this and get a patch submitted.<br>
<br>
Any ideas would be appreciated.<br>
<br>
Greg Clayton<br>
<br>
______________________________<wbr>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/lldb-dev</a><br>
</blockquote></div><br></div>