You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 30, 2018. It is now read-only.
Gregory Haskins edited this page Nov 20, 2015
·
6 revisions
This page is for notes, tips, and suggestions for Go development
Debugging
The Golang corpus does not include a native debugger. It is possible to attach GDB to a go program, but the results are often disappointing on account of a lack of insight into the Go runtime (such as goroutines, etc). The obvious and perhaps idiomatic way to debug a Go application is with the tried and true printf+iterate model. However, there are several options above and beyond that may make certain problems easier to find.