stackgraph

command
v0.0.0-...-f3d8a94 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

The stackgraph command reads a Go stack trace (as produced by a Go panic) from its standard input and writes an SVG file suitable for viewing in a web browser on its standard output. It assumes that graphviz is installed.

All the dot(1) heuristics were unashamedly stolen from go tool pprof.

Example

$ stackgraph < file-containing-go-panic > /tmp/x.svg
# open web browser on file:///tmp/x.svg

Jump to

Keyboard shortcuts

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