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

Go​Debug

by dishmaev ST3

Go debugger (Delve) integration with Sublime Text 3

Labels go, golang, debug

Details

Installs

  • Total 2K
  • Win 1K
  • Mac 637
  • Linux 464
Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10
Windows 0 0 2 0 2 0 1 1 0 1 0 0 0 1 0 0 2 0 0 1 1 0 2 0 1 1 2 2 0 0 0 1 2 0 0 0 0 1 1 2 0 0 2 2 0 1
Mac 0 1 2 3 2 0 0 0 1 2 2 0 0 2 1 1 0 1 1 0 2 0 0 1 0 0 0 0 0 1 0 1 0 1 0 1 2 1 1 0 0 0 3 0 0 1
Linux 0 1 0 2 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 0 2 0 0 0 2 0 0 0 1 0 0 0 0 0 1 0 1 0 1 1 1

Readme

Source
raw.​githubusercontent.​com

GoDebug

Delve plugin for Sublime Text 3.

Based on ideas and sources: * SublimeGDB * go-debug * jsonrpctcp

Prerequisites

Installation

  1. Using Package Control Plugin
  2. Manually clone git repository GoDebug in your package directory

Enable plugin for your project

  1. On active view of window right click mouse and choose from menu Delve/Enable (not recommended, if your project file contains necessary commented lines, after execution Sublime Text will remove all commented content)
  2. Manually put specific setting in project file <YourGoProject>.sublime-project
"settings":
{
  ...
  "delve_enable": true
  ...
}

Usage

See the default key bindings, the default mouse map and the sample setting.

In short: * If you have multiple projects, you most likely want to put project specific setting in your project file, with a prefixed “godebug_” * If you have multiple executables in the same project, you can add a “godebug_executables” setting to your project settings, and add an entry for each executable's settings * Toggle breakpoints with Alt+F9 * Launch with F5 * Next with F6 * Step into with F7 * Step out with Shift+F7 * Click on the appropriate line in the Delve Stacktrace view to go to that stack frame. Deactivated by default, see the mouse map for details * Click a variable in the Delve Variables view to show its children (if available).Deactivated by default, see the mouse map for details * You can also access some commands by right clicking in any view

License

GoDebug are released under the MIT license. See LICENSE