Skip to content
This repository was archived by the owner on Mar 30, 2018. It is now read-only.

Go Development Portal

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.

Delve

Clone this wiki locally