There seems to be a lack of documentation and tutorials around debugging golang using gdb. Here is a short tutorial to get people started. Here is our golang example project. - gdbtest/ - main.go Inside main.go we have package main import "fmt" type MyStruct struct { x string i int f float64 m map[string] int64 } func main() { x := "abc" i := 3 fmt.Println(i) fmt.Println(x) ms := &MyStruct{ x: "cb