Golang: Handy Stack Trace

Go can feel indispensable and tempting at times, and it has only got some makeshift-debuggers, here and there — nothing full-fledged. If you try debugging through tens or hundreds of goroutines, it becomes even more confounding and hairy!

A little bit of runtime, a little bit of reflection, that’s all it is.

Given that, until date (Jan 2016), Golang does not have a “fulltime” debugger, a stack trace snippet comes as a swiss-knife!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s