-
-
22 Nov 2007 20:21:54 UTC
- Distribution: Devel-LeakTrace-Fast
- Module version: 0.11
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (9)
- Testers (181 / 94 / 1)
- Kwalitee
Bus factor: 0- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (12.61KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Why not adopt me?
This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.NAME
Devel::LeakTrace::Fast - indicate where leaked variables are coming from.
SYNOPSIS
perl -MDevel::LeakTrace::Fast -e '{ my $foo; $foo = \$foo }' leaked SV(0x528d0) from -e line 1 leaked SV(0x116a10) from -e line 1
DESCRIPTION
Devel::LeakTrace::Fast is a rewrite of Devel::LeakTrace. Like Devel::LeakTrace it uses the pluggable runops feature found in perl 5.6 and later in order to trace SV allocations of a running program.
At END time Devel::LeakTrace::Fast identifies any remaining variables, and reports on the lines in which the came into existence.
Note that by default state is first recorded during the INIT phase. As such the module will not pay attention to any scalars created during BEGIN time. This is intentional as symbol table aliasing is never released before the END times and this is most common in the implicit BEGIN blocks of
use
statements.TODO
Improve the documentation.
Clustering of reports if they're from the same line.
Stack backtraces to suspect lines.
AUTHOR
Andy Armstrong <andy@hexten.net>
Originally based on code by Richard Clamp that carried this attribution:
Richard Clamp <richardc@unixbeard.net> with portions of LeakTrace.xs taken from Nick Ing-Simmons' Devel::Leak module.
LICENCE AND COPYRIGHT
Copyright (c) 2007, Andy Armstrong
<andy@hexten.net>
. All rights reserved.This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
SEE ALSO
Module Install Instructions
To install Devel::LeakTrace::Fast, copy and paste the appropriate command in to your terminal.
cpanm Devel::LeakTrace::Fast
perl -MCPAN -e shell install Devel::LeakTrace::Fast
For more information on module installation, please visit the detailed CPAN module installation guide.