I've just published the first version of LLDB plugin for VSCode.
Those of you who are already using VSCode for Rust coding, may find it a useful addition to RustyCode. It works on Linux, OSX and Windows (if you manage to build LLDB there).
"Step over" does always "Step in" for me. This also happens with plain lldb, so it's not a problem with the plugin, but maybe you know why this is the case? Maybe bad debug information?
I think this is related to issues described in PR 33097. LLDB built from the current master branch does not have this problem. Hopefully it will not take too long for the fix to percolate into LLDB shipped with XCode.
Tightness of integration.
Mine uses LLDB's native Python API, whereas the other plugin uses GDB-MI interface. There are some things in LLDB, particularly around variable inspection, that just aren't exposed via GDB-MI. Also, LLDB's implementation of GDB-MI seems to be buggy in places.
All in all, I think that mine provides a better user experience. But you are welcome to disagree .
Not directly. Unfortunately, VSCode debug adapters cannot access user/workspace settings, so changing name of the debugger executable would require some editing of the plugin source.
You can insert the three relevant lines as initCommands in the launch configuration though.
However, when lldb stop at breakpoint, command, like > print *self or "Step into" doesn't do anything. If I press "Stop" all entered commands will be printed with result "Cancelled"
> print *self
cancelled
Also, locals in sidepanel doesn't show up (there is just a eternal activity indicator), and if I wait enough, VSCode will terminate debugging session.
For people who run into the same issue: printing/viewing variables didn't work for me on OS X, despite setting initCommands. Updating to Xcode 8 beta solved the problem.
Looks like LLDB is finally usable on Windows (only *-windows-gnu toolchain for now), so y'all may want to give it a try. Get it here: LLVM Snapshot Builds.