GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DEVEL::LEAKTRACE (3)

.ds Aq ’

NAME

Devel::LeakTrace - indicate where leaked variables are coming from.

CONTENTS

SYNOPSIS



  perl -MDevel::LeakTrace -e { my $foo; $foo = \$foo }
  leaked SV(0x528d0) from -e line 1
  leaked SV(0x116a10) from -e line 1



DESCRIPTION

Based heavily on Devel::Leak, Devel::LeakTrace 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 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.

CAVEATS

glib <http://developer.gnome.org/doc/API/glib/index.html> is used for it’s hash manipulation routines to keep state. This is an external dependency that is hoped can be removed, but tuits as yet haven’t presented themselves.

TODO

Elminate dependency on glib

Improve the documentation.

Clustering of reports if they’re from the same line.

Stack backtraces to suspect lines.

AUTHOR

Richard Clamp <richardc@unixbeard.net> with portions of LeakTrace.xs taken from Nick Ing-Simmons’ Devel::Leak module.

COPYRIGHT

Copyright (C) 2002 Richard Clamp. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Devel::Leak, Devel::Cover
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DEVEL::LEAKTRACE (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.