-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Step Over In Debug not working with GO 1.8 #2872
Comments
May need to upgrade delve to 0.12.2? https://github.com/derekparker/delve/issues/761 |
the same problem |
Workaround: Install the latest delve e.g. brew install delve, then in IntelliJ: |
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. |
There's also a dedicated IDE if you want to use instead: https://www.jetbrains.com/go/ |
@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 |
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. |
@dlsniper thanks , try the Goglang maybe the best way. |
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 |
@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. |
yes.i had the same question, and I used this way, now I'm flying!!! |
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 |
For Mac os M1 the directory path is as |
Plugin version (or commit hash):
IntelliJ IDEA 2016.3.4
Build #IU-163.12024.16, built on January 31, 2017
JRE: 1.8.0_112-release-408-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
MacOS Sierra 10.12.3
What are you trying to do?
Stepping Over a break point set in code.
What would you expect to happen?
The debugger stop correctly at the line with the breakpoint, however stepping over (F8) is not working and debugger never auto move to the next line of code and call stack and variable window shows nothing as if the process is still running.
What happens?
after F8, execution seems to be halted and the cursor never move to stop at the next line of code.
The text was updated successfully, but these errors were encountered: