dishmaev / GoDebug

Go debugger (Delve) integration with Sublime Text 3
MIT License
25 stars 3 forks source link

Delve Sub menu does not appear enabled #5

Closed ArjunDhar closed 5 years ago

ArjunDhar commented 5 years ago

Ive tried to search any forum I could post this ,but for a lack of a better place am considering this an issue, not sure if this project is active.

I've followed the instructions in the Git Wiki and here is my config in Sublime 3 .sublime-project:

    "settings":
    {
        "delve_enable": true,
        "godebug_port": 7890,
        "godebug_executables":
        {
            "debug":
             {
                 "mode": "debug"
             },
             "test":
             {
                 "mode": "test"
             }
        },
 ...
}

Other than "delve_enable": true, was me just trying various configs out.

ISSUE I get Delve in my context menu when I right click but all options are disabled. There is no console error that I can see.

Here is what console looks like:

Package Control: Skipping automatic upgrade, last run at 2019-08-28 07:50:26, next run at 2019-08-28 08:50:26 or after
[07:57:32] margo: agent#007: log: margocode.go:280: Scan GOPATH (D:\MyProject\abc\src)
[07:57:32] margo: agent#007: log: ``` packages=2, list=636ms, decode=0s, error=<nil> ```
[07:57:34] margo: agent#007: log: margocode.go:280: Scan GOPATH (D:\MyProject\def\src)
[07:57:34] margo: agent#007: log: ``` packages=45, list=2.298s, decode=2ms, error=<nil> ```
[07:57:35] margo: agent#007: log: margocode.go:280: Scan GOROOT (C:\installed\go1.12.9.windows-amd64\go\src)
[07:57:35] margo: agent#007: log: ``` packages=310, list=3.631s, decode=7ms, error=<nil> ```
[07:57:36] margo: agent#007: log: margocode.go:280: Scan GOPATH (C:\installed\go1.12.9.windows-amd64\gopath\src)
[07:57:36] margo: agent#007: log: ``` packages=258, list=4.61s, decode=8ms, error=<nil> ```
[07:57:37] margo: agent#007: log: margocode.go:280: Scan GOPATH (D:\MyProject\ghi\src)
[07:57:37] margo: agent#007: log: ``` packages=270, list=6.07s, decode=11ms, error=<nil> ```
dishmaev commented 5 years ago

hi what operating system do you use?

ArjunDhar commented 5 years ago
ArjunDhar commented 5 years ago

I know a little bit of Python, any way i can debug this myself. Since the menu is coming diabled, which class and method should I poke?

Help in the fix or finding the fix both appreciated

dishmaev commented 5 years ago

please try to use with simple config settings on Linux or MacOS i tried to use plugin on Windows, found some errors, will correct in the near future

ArjunDhar commented 5 years ago

Since I cant change my OS for an editor; for now I'll use VSCode and GoVim. Look forward to your fix when it comes. thanks