Scroll to navigation

Plack::Middleware::Debug::TrackObjects(3pm) User Contributed Perl Documentation Plack::Middleware::Debug::TrackObjects(3pm)

NAME

Plack::Middleware::Debug::TrackObjects - Track Objects panel

SYNOPSIS

  enable "Debug";
  enable "Debug::TrackObjects";

And when you load the application with plackup or other launcher:

  # track everything
  plackup -MDevel::TrackObjects=/^/ myapp.psgi

You can specify the namespace with a regular expression. See Devel::TrackObjects for details.

DESCRIPTION

This debug panel captures objects created in a request cycle by using Devel::TrackObjects. You can run your applications multiple times (i.e. refreshing the page) to see if the count of tracked objects increases, in which case there are leaked objects.

SEE ALSO

Plack::Middleware::Debug Devel::TrackObjects

2020-05-08 perl v5.30.0