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 571 forks source link

debug jumps to start panic #2877

Closed rahmanme closed 7 years ago

rahmanme commented 7 years ago

the error that i'v got is like this unexpected fault address 0x6e52003cc28 fatal error: fault fatal error: unexpected signal during runtime execution fatal error: unexpected signal during runtime execution fatal error: unexpected signal during runtime execution

package main

import "log"

func main() {

    log.Println("line 1")               <--- breakpoint

    log.Println("line 2")
}
screen shot 1395-12-19 at 03 00 37
ChristopherElliott commented 7 years ago

Seeing the same issue. Was so confused as I'm just learning Go and thought I was misunderstanding the syntax.

tomas-bareikis commented 7 years ago

I am having the same issue too.

tagarwal commented 7 years ago

Same issue on Mac OSX

adamlavie commented 7 years ago

Same here. Using Ubuntu 16.04 and intellij v2017.1

rahmanme commented 7 years ago

I used Gogland and it works finally

swojtasiak commented 7 years ago

I had the same problem. It was caused by a panic inside init function of a module that was imported before main was called.

dlsniper commented 7 years ago

@swojtasiak please feel free to try https://www.jetbrains.com/go/ and see if it fixes your problem.