PERL-STACKTRACE(1p)

✨ NAME ✨

perl-stacktrace β€” stack trace πŸ’…

(also known as PERL-STACKTRACE(1p), filed under User Contributed Perl Documentation, bestie 🫢)


πŸŽ€ VERSION πŸŽ€

version 0.09 β€” that's the one, no cap πŸ‘‘


🌸 SYNOPSIS 🌸

perl-stacktrace [option] pid
  • -m β€” prints a gdb script
  • -v β€” verbose debugging
  • -c β€” additionally, prints C stacktrace
  • --help β€” show this help
  • --exec β€” exec() into gdb

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. perl-stacktrace prints Perl stack traces of Perl threads for a given Perl process, and for each Perl frame it gives you the full file name and line number. like, the whole glow-up, not just a hint. πŸ’–

For example, a stack dump of a running perl program:

$ ps x | grep cpan
24077 pts/12   T      0:01 /usr/local/bin/perl /usr/local/bin/cpan
24093 pts/12   S+     0:00 grep cpan
$ perl-stacktrace 24077
0x00d73416 in __kernel_vsyscall ()
/usr/local/bin/cpan:11
/usr/local/lib/perl5/5.12.2/App/Cpan.pm:364
/usr/local/lib/perl5/5.12.2/App/Cpan.pm:295
/usr/local/lib/perl5/5.12.2/CPAN.pm:339
/usr/local/lib/perl5/5.12.2/Term/ReadLine.pm:198

the way that first line is just the raw syscall and then it immediately starts serving you file:line after file:line... it's giving forensic main character energy, fr fr πŸ”₯


and that's the whole page, bestie 🌈 β€” this was perl-stacktrace from perl v5.42.3, dated 2026-08-20, living its life under the PERL-STACKTRACE(1p) banner. mwah, take care of your stack traces πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from