go-lang-plugin-org / go-lang-idea-plugin

Google Go language IDE built using the IntelliJ Platform
https://plugins.jetbrains.com/plugin/5047
Other
4.56k stars 570 forks source link

Step Over In Debug not working with GO 1.8 #2872

Open jli3388 opened 7 years ago

jli3388 commented 7 years ago
mnelson-bah commented 7 years ago

May need to upgrade delve to 0.12.2? https://github.com/derekparker/delve/issues/761

winworm commented 7 years ago

the same problem

mnelson-bah commented 7 years ago

Workaround: Install the latest delve e.g. brew install delve, then in IntelliJ: Help → Edit Custom Properties... Add the following as a new line dlv.path=/usr/local/bin/dlv Save, close and restart the IDE

dlsniper commented 7 years ago

Please try the official JetBrains plugin for Go https://plugins.jetbrains.com/plugin/9568-go which has a lot more features than this plugin. As of a few months ago this plugin is not actively maintained anymore and I doubt I'll have time to work on it in the future as well.

dlsniper commented 7 years ago

There's also a dedicated IDE if you want to use instead: https://www.jetbrains.com/go/

winworm commented 7 years ago

@dlsniper i try to install https://plugins.jetbrains.com/plugin/9568-go ,download the zip and use the method "install plugin from disk" . but error : pligin 'Go' is incompatible with this installation.

i use the idea of version 2016.3.6

dlsniper commented 7 years ago

The plugin should be installed from the IDE. As for supported versions, I think only 2017.1+ are supported, but I can't remember now. Have a look at Gogland as an alternative.

winworm commented 7 years ago

@dlsniper thanks , try the Goglang maybe the best way.

drgorb commented 6 years ago

I just downloaded the latest GoGland version and it stills hand when stepping. It also hangs when trying to evaluate an expression and take an eternity when trying to read the content of variables

dlsniper commented 6 years ago

@drgorb please open an issue on https://youtrack.jetbrains.com/issues/Go and describe what you did in order to have this happening. As you described I cannot reproduce it since there's not information to even begin and try to replicate it. Thank you.

helloNice commented 2 years ago

Workaround: Install the latest delve e.g. brew install delve, then in IntelliJ: Help → Edit Custom Properties... Add the following as a new line dlv.path=/usr/local/bin/dlv Save, close and restart the IDE

yes.i had the same question, and I used this way, now I'm flying!!!

miracle2017 commented 1 year ago

Workaround: Install the latest delve e.g. brew install delve, then in IntelliJ: Help → Edit Custom Properties... Add the following as a new line dlv.path=/usr/local/bin/dlv Save, close and restart the IDE

that way is still work for me at 2023.7. strongly recommend you to try this one, because it is easy and quick to try out. it took me 1 minute to solve the problem. unbelievable!

my go version 1.9 and Golang 2021.2.1

binary111 commented 1 year ago

Workaround: Install the latest delve e.g. brew install delve, then in IntelliJ: Help → Edit Custom Properties... Add the following as a new line dlv.path=/usr/local/bin/dlv Save, close and restart the IDE

For Mac os M1 the directory path is as /opt/homebrew/Cellar/delve/1.21.0