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 781
  • Win 1
  • Mac 493
  • Linux 287
May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28
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 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Linux 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 0 0 0 1 0 0 0 0 0 0 0 0 0 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:).