ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Anarchy​Debug

by dunkelstern ST3 MacLinux

LLDB Integration for Sublime Text 3 (Breakpoints, LLDB console, Backtrace view)

Labels debugger

Details

Installs

  • Total 802
  • Win 1
  • Mac 504
  • Linux 297
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 3 plugin for LLDB integration

Features

  • Setting breakpoints
  • Running with connected stdin/out/err in output panel
  • LLDB debug prompt
  • Local variable display
  • Backtraces

Roadmap

  • Stabilize killing of debug server
  • Work out bugs in lldb console show/hide
  • Remote debugging

Setup

Use the default Sublime method of overriding configuration from the menu. Available configuration options:

  • lldb_python_path path to lldb python package directory to use for the debugger
  • auto_show_lldb_console boolean, automatically show the lldb console and backtrace windows when starting the debugger

How to use

To use the debugger you have to configure a debug target and its settings. To keep it with the project we save the settings to the sublime project file.

Example content of Project.sublime-project:

{
    "folders": [
        {
            "path": ".",
        }
    ]
    "settings": {
        "SublimeAnarchyDebug": {
            "debug": {
                "executable": "${project_path}/bin/executable",
                "params": [
                ],
                "path": [
                ],
                "environment": [
                ],
                "working_dir": "${project_path}"
            }
        }
    }
}

Put that into your project root and use the menu entry Project->Open Project... to open the project (or double-click in your filesystem browser or even open with subl <ProjectFile> from the command line.)

If the project is open just use the Command Palette to execute some Debug commands (all prefixed with AnarchyDebug:).