IntelliJ IDEA go-lang-idea-plugin Alpha Debugging under Ubuntu

I am trying to debug Go 1.4 using IntelliJ Idea 14.0.2 and the current version of go-lang-idea-plugin alpha 0.9.16-dev-0.9.16-alpha.9 from http://github-intellij-plugin.appspot.com /go-lang-plugin-org/go-lang-idea-plugin/alpha.xml . As mentioned at https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/588 this should work.

Plugin works fine for running "Hello world" but my "Debug" -Button is greyed. I already updated gdb to version 6.8.1, versions 6.8 and 6.7.7 didn't work either. This is my debug config: Debug config

What am I missing? Do I need a specific version of gdb or is the problem elsewhere? Or is it because I am using Go 1.4?

+3


source to share


1 answer


Decision:

1) Go to "Edit Configuration" => "Run"

2) Uncheck "Build Before Run"



3) Check "Build Before Launch"

4) Check "Enable Debugging" (was greyed out before doing Build Before Run twice).

So this was a weird UI question.

+2


source







All Articles