DOKK / manpages / debian 11 / panicparse / panicparse.1.en
PANICPARSE(1) General Commands Manual PANICPARSE(1)

panicparse - parses panic stack traces from golang programs

panicparse [options] file
go test -v 2>&1 | panicparse

This manual page documents briefly the panicparse command.

panicparse parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized processes.

A summary of options is included below.

Aggressive deduplication including non pointers
Regexp to filter out headers that match, ex: -f 'IO wait|syscall'
Forcibly enable coloring when with stdout is redirected
Print full sources path
Output an HTML file
Regexp to filter by only headers that match, ex: -m 'semacquire'
Disable coloring
Parses source files to deduct types; use -parse=false to work around bugs in source parser (default true)
Guess GOROOT and GOPATH (default true)
Enables verbose logging output
2019-09-07