stack_trace/

directory
v0.0.0-...-ae246d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2016 License: Apache-2.0

README

Stack Traces

Having some basic skills in debugging Go programs can save any programmer a good amount of time trying to identify problems. I believe in logging as much information as you can, but sometimes a panic occurs and what you logged is not enough. Understanding the information in a stack trace can sometimes mean the difference between finding the bug now or needing to add more logging and waiting for it to happen again.

Notes

  • Stack traces are an important tool in debugging an application.
  • The runtime should never panic so the trace is everything.
  • You can see every goroutine and the call stack for each routine.
  • You can see every value passed into each function on the stack.

http://www.goinggo.net/2015/01/stack-traces-in-go.html

Code Review

Review Stack Trace (Go Playground)
Packing (Go Playground)


All material is licensed under the Apache License Version 2.0, January 2004.

Directories

Path Synopsis
Sample program to show how to read a stack trace.
Sample program to show how to read a stack trace.
Sample program to show how to read a stack trace when it packs values.
Sample program to show how to read a stack trace when it packs values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL