vscode-lldb | A native debugger extension for VSCode based on LLDB | Code Inspection library
kandi X-RAY | vscode-lldb Summary
kandi X-RAY | vscode-lldb Summary
A native debugger extension for VSCode based on LLDB
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-lldb
vscode-lldb Key Features
vscode-lldb Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-lldb
QUESTION
I am trying to debug a Rust application using VSCode, but I am unable to inspect any local variables or use the watch window (see attached).
All breakpoints work fine, I just cannot view any variables, etc.
- VSCode v1.19.1
- Linux Elementary (latest)
- LLDB Debugger 0.7.3
The LLDB is what is shown in VSCODE plugin, but when I do lldb --version
from the terminal it says: lldb version 3.8.0 ( revision )
.
I get no errors when starting lldb from the terminal. All breakpoints are hit while debugging, I just cannot see any of the variable values.
For the sake of completeness, I verified python scripting support as a Prerequisite listed on: https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
**
python-lldb-3.8 is already the newest version
**
...ANSWER
Answered 2018-Sep-24 at 17:14lldb doesn't "real" have support for Rust. It uses the C++ type system to support Rust types, and uses the C++ expression parser for expressions. So while simple things should work, more complex language features aren't well supported by "rust as C++".
It's possible to add language support for languages not directly supported by the clang front-end to lldb (see for instance the Go & OCaml support).
Tom Tromey is working on an actual Rust port for lldb, see: https://archive.fosdem.org/2018/schedule/event/rustdebug/ where he discusses this project, for instance. He hasn't submitted the results to mainline lldb yet, but his fork is available at https://github.com/rust-lang-nursery/lldb/commits/rust if anybody interested in Rust debugging in lldb wants to lend a hand.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-lldb
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page