vscode-lldb | A native debugger extension for VSCode based on LLDB | Code Inspection library

 by   vadimcn Rust Version: v1.9.0-dev.2302150256 License: MIT

kandi X-RAY | vscode-lldb Summary

kandi X-RAY | vscode-lldb Summary

vscode-lldb is a Rust library typically used in Code Quality, Code Inspection, Visual Studio Code applications. vscode-lldb has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

A native debugger extension for VSCode based on LLDB
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              vscode-lldb has a medium active ecosystem.
              It has 1711 star(s) with 202 fork(s). There are 29 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 116 open issues and 517 have been closed. On average issues are closed in 78 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of vscode-lldb is v1.9.0-dev.2302150256

            kandi-Quality Quality

              vscode-lldb has no bugs reported.

            kandi-Security Security

              vscode-lldb has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              vscode-lldb is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              vscode-lldb releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-lldb
            Get all kandi verified functions for this library.

            vscode-lldb Key Features

            No Key Features are available at this moment for vscode-lldb.

            vscode-lldb Examples and Code Snippets

            No Code Snippets are available at this moment for vscode-lldb.

            Community Discussions

            QUESTION

            How do I inspect local variables or use the watch window with Rust code using VSCode and LLDB?
            Asked 2018-Sep-24 at 17:14

            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:14

            lldb 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.

            Source https://stackoverflow.com/questions/48067874

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install vscode-lldb

            Here's a minimal debug configuration to get you started:.

            Support

            Debugging in VS Code - if you are new to VSCode debugging.CodeLLDB User's Manual - how to use this extension.LLDB Homepage - all of LLDB's CLI commands and scripting features may be used in CodeLLDB.Wiki pages - troubleshooting and other tips and tricks.Discussions - for questions and discussions.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/vadimcn/vscode-lldb.git

          • CLI

            gh repo clone vadimcn/vscode-lldb

          • sshUrl

            git@github.com:vadimcn/vscode-lldb.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Code Inspection Libraries

            Try Top Libraries by vadimcn

            codelldb

            by vadimcnRust

            cargo-pgo

            by vadimcnRust

            git-pj

            by vadimcnRust