Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Go
  3. panicparse

panicparse

Apache-2.0Gov2.4.0

Parses and simplifies Go panic stack traces to help debug crashes and deadlocks in parallel applications.

Visit WebsiteGitHubGitHub
3.7k stars101 forks0 contributors

What is panicparse?

panicparse is a Go library and command-line tool that parses panic stack traces, densifies output, and deduplicates goroutines with similar stack traces. It transforms verbose crash dumps into more readable formats, making it easier to diagnose issues in heavily concurrent Go programs.

Target Audience

Go developers debugging crashes, deadlocks, or race conditions in parallelized applications, especially those working with servers or tests producing large stack traces.

Value Proposition

Developers choose panicparse for its ability to condense and deduplicate goroutine stacks, reducing noise and focusing on relevant information, with additional features like HTML export, HTTP middleware integration, and race detector support not found in standard Go tooling.

Overview

Crash your app in style (Golang)

Use Cases

Best For

  • Debugging crashes in heavily concurrent Go servers with many goroutines.
  • Parsing and analyzing output from `go test -race` and other race detection tools.
  • Integrating readable goroutine snapshots into web applications via HTTP middleware.
  • Visualizing stack traces in HTML format for better debugging clarity.
  • Reducing noise in large panic dumps by deduplicating similar goroutine stacks.
  • Serving compact goroutine snapshots as an alternative to `net/http/pprof` endpoints.

Not Ideal For

  • Debugging non-Go applications or stack traces from other programming languages.
  • Simple Go programs with few goroutines where standard panic output is sufficient.
  • Teams relying exclusively on GUI debuggers or IDEs without command-line integration.
  • Environments with strict security policies preventing installation of third-party CLI tools.

Pros & Cons

Pros

Race Detector Support

Parses output from `go test -race` and similar tools, simplifying race condition debugging in Go tests.

HTML Export Visualization

Exports stack traces to HTML for better visual clarity, aiding in sharing and analyzing complex dumps.

HTTP Middleware Integration

Provides an HTTP handler middleware for serving compact goroutine snapshots in web applications, as an alternative to net/http/pprof.

Efficient Deduplication

Groups similar goroutine stacks to reduce noise, making large server crash analysis more manageable.

Source File Augmentation

Parses available source files to enrich stack traces with code context, enhancing debugging insight.

Cons

Shell Redirection Complexity

Requires different piping commands for bash v4, zsh, fish, and has broken support in PowerShell, complicating cross-platform usage.

Go Version Dependency

Requires Go 1.17 or higher, with separate versions for older Go, which can be a hurdle for legacy projects.

Niche Focus Limitations

Specifically designed for panic stack traces, so it doesn't handle other debugging tasks like logging or performance profiling outside panics.

Frequently Asked Questions

Quick Stats

Stars3,716
Forks101
Contributors0
Open Issues3
Last commit1 year ago
CreatedSince 2015

Tags

#stack-trace#goroutine#cli-tool#stack-traces#concurrency#go#debugging

Built With

G
Go

Links & Resources

Website

Included in

Go169.1k
Auto-fetched 1 day ago

Related Projects

fzffzf

:cherry_blossom: A command-line fuzzy finder

Stars79,710
Forks2,789
Last commit3 days ago
divedive

A tool for exploring each layer in a docker image

Stars53,813
Forks1,992
Last commit4 months ago
HubHub

A command-line tool that makes git easier to use with GitHub.

Stars22,942
Forks2,216
Last commit2 years ago
lolo

💥 A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)

Stars21,207
Forks937
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub