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 4K
  • Win 2K
  • Mac 1K
  • Linux 920
Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 3 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 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