Skip to content

Comment on Go Debugging with Delve, or No More Fmt.Printfs

Comments

Does anyone have a good workflow for spanning go->cgo. I have found it very hard to code and debug in the space. I end up using gdb, but that lacks a lot of the go context and you cannot go into the c code with delve.

This is where I typically resorted to printf statements in pure C.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.