PANICPARSE(1)

πŸ’… PANICPARSE(1) β€” the manual page, but make it slay

okay bestie, so this is a page from the General Commands Manual section, and the command is panicparse. Sit down, grab a strawberry πŸ“, we're gonna read the whole thing together.


✨ NAME ✨

panicparse β€” she parses panic stack traces from golang programs 🫢


🌈 SYNOPSIS 🌈

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

Like, either you hand her a file, or you pipe your go test -v output straight into her face. Both are valid. Both are iconic. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

This manual page documents briefly the panicparse command. Short and sweet, we love that for us.

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

No cap β€” when your heavily parallelized little program goes full chaos mode and crashes, or just. Sits there. Deadlocked. Frozen. Not me refreshing the terminal like it's gonna change 😭 β€” panicparse walks in, reads the whole mess of goroutine dumps, squishes the ones with similar stack traces together, and hands you something you can actually read. Main character energy fr fr πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

A summary of options is included below. It's giving buffet. Take what you need πŸ’–

  • -aggressive β€” Aggressive deduplication including non pointers. She's not being polite about it, she's merging everything she can πŸ”₯
  • -f string β€” Regexp to filter out headers that match, ex: -f 'IO wait|syscall'. Anything matching gets yeeted πŸ™ˆ
  • -force-color β€” Forcibly enable coloring when with stdout is redirected. Redirected output? She's still gonna be colorful, periodt 🌸
  • -full-path β€” Print full sources path. No truncating, no hiding, the whole entire path πŸ¦‹
  • -html string β€” Output an HTML file. Give the crash a whole aesthetic ✨
  • -m string β€” Regexp to filter by only headers that match, ex: -m 'semacquire'. Only the matching ones get to stay πŸ’œ
  • -no-color β€” Disable coloring. For the monochrome girlies πŸ–€
  • -parse β€” Parses source files to deduct types; use -parse=false to work around bugs in source parser (default true). Yes she reads your source. And yes, the source parser has bugs, so you can turn her off, no shame πŸ’€
  • -rebase β€” Guess GOROOT and GOPATH (default true). She's guessing, but like, confidently πŸ’…
  • -v β€” Enables verbose logging output. Not me wanting to see every single little thing she's doing πŸ”
heads up bestie: -parse and -rebase both default to true. If something's acting weird with the source parser, -parse=false is the lil escape hatch. 🫢

πŸ’– that's the whole page πŸ’–

and that's a wrap, bestie! this page came from the General Commands Manual, dated 2019-09-07, and it's PANICPARSE(1) β€” that last bit is the manual name, so you can run man 1 panicparse whenever you need her again. go debug something, you've got this πŸ‘‘πŸŽ€πŸ§š