panicparse is a command-line tool that parses and reformats Go panic stack traces to make crash debugging easier.
The tool solves the problem of interpreting large, unwieldy Go crash dumps by parsing panic output, deduplicating goroutines with identical or similar stack traces, and presenting the information in a more compact and readable format. It works by detecting panics on stderr, analyzing the stack trace structure, and reorganizing the output to highlight application code while pushing standard library-only stacks to the bottom. The tool can also parse source files when available to augment the output with additional context.
panicparse suits developers working on heavily parallelized Go applications where crashes produce hundreds or thousands of goroutine stack traces. It is particularly valuable for debugging server crashes and deadlocks where many goroutines share the same call stack. The tool integrates into workflows through multiple interfaces: as a command-line filter for piping test output, as an HTTP handler middleware for production services, and as an HTTP web server that provides a web-based view of live goroutine snapshots. It supports race detector output and works across all platforms Go supports, including Windows, macOS, and Linux.
The project maintains active development with regular updates and bug fixes. The codebase demonstrates attention to performance optimization and cross-platform compatibility. The tool includes comprehensive documentation covering shell-specific piping syntax for different environments and provides clear guidance on disabling inlining to improve stack trace informativeness during debugging.