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 1K
  • Win 630
  • OS X 288
  • Linux 223
Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 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
Windows 1 4 3 1 0 2 4 0 1 5 3 3 4 2 2 2 4 2 2 3 4 4 7 7 3 4 4 2 2 4 5 3 3 3 5 4 2 2 6 2 6 0 0 6 6 2
OS X 0 0 1 0 1 2 2 1 3 1 0 2 1 1 0 2 3 1 1 0 3 1 0 2 0 0 0 4 4 3 0 3 1 2 1 2 3 4 1 0 1 1 4 3 2 2
Linux 0 1 1 1 0 1 4 1 3 1 0 1 0 2 2 1 0 1 0 0 2 1 1 1 0 0 1 0 0 0 1 0 1 0 1 0 0 0 0 1 2 1 2 2 1 0

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