Giter Site home page Giter Site logo

vscode-lldb's Introduction

CodeLLDB: a LLDB front end for Visual Studio Code

View this readme on GitHub (working hyperlinks!)

Features

  • Supports Linux, macOS and Windows.
  • Launch processes with configurable stdio redirection.
  • Attach to processes by pid or by name.
  • Scripted custom launch for ultimate flexibility.
  • Function, conditional and regex breakpoints.
  • Disassembly View.
  • LLDB commands and expression evaluation in Debug Console.
  • Configurable result formatting.
  • Display of HTML content.
  • Rust language support.

Please see the Manual for details.

source

Prerequisites

  • Visual Studio Code 1.9.0.
  • LLDB with Python scripting support on system PATH. (Installing LLDB)

Debugging

Here's a minimal configuration to get you started:

{
    "name": "Launch",
    "type": "lldb",
    "request": "launch",
    "program": "${workspaceRoot}/<my program>",
    "args": ["-arg1", "-arg2"],
}

See also: Debugging in VS Code.

Installing LLDB

Linux

On Debian-derived distros (e.g. Ubuntu), run sudo apt-get install python-lldb-x.y, where x.y is the LLDB version.
See this page for installing nightlies.

Note: Some distros install LLDB with a versioned name, e.g. lldb-4.0. In this case you will need to configure LLDB executable name via Workspace Configuration.

MacOS

  • Download and install XCode.
  • Install XCode Command Line Tools by running xcode-select --install

Windows

  • Download and install LLVM for Windows.
  • Download and install Python 3.5.x. If you've installed a 64-bit LLVM, you will need a 64-bit Python as well.
  • Make sure that both LLDB and Python install directories are on the PATH.

Be sure to read the Fine Manual!

Please see the troubleshooting page should you have issues with getting the debugger to start.

vscode-lldb's People

Contributors

vadimcn avatar jesspittman avatar shchvova avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.