Plack:...bjects(3pm)
π NAME π
Plack::Middleware::Debug::TrackObjects β the Track Objects panel, bestie. That's it, that's the whole vibe β¨
πΈ SYNOPSIS πΈ
okay so first you gotta turn on the panel, like so:
enable "Debug";
enable "Debug::TrackObjects";
and then when you actually load the app with plackup or literally any other launcher:
# track everything
plackup -MDevel::TrackObjects=/^/ myapp.psgi
you can specify the namespace with a regular expression, which is lowkey iconic tbh. see Devel::TrackObjects for the deets π
π¦ DESCRIPTION π¦
so this debug panel captures objects created in a request cycle by using Devel::TrackObjects. that's the whole plot π
and here's the fun part: you can run your application like multiple times (i.e. just keep refreshing the page, we've all been there) to see if the count of tracked objects increases β and if it does?? π¨ that means there are leaked objects, bestie. not me catching memory leaks with a debug panel, we love a main character tool π
β SEE ALSO β
Plack::Middleware::DebugDevel::TrackObjects
perl v5.36.0 Β· 2022-10-14 β and that's the whole page, pookie π«Ά go track some objects, stay leak-free, mwah πβ¨π
π¦ where this page comes from
- ubuntu noble: libplack-middleware-debug-perl 0.18+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libplack-middleware-debug-perl 0.18+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libplack-middleware-debug-perl 0.18+dfsg-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms