Sledge::Plugin::DebugLeakChecker - Show the memory leak situation of perl modules for Sledge
Version 0.01
At first, write this in the startup.pl
BEGIN { use Devel::Leak::Object qw{ GLOBAL_bless }; }
Example of httpd.conf when I debug it.
MinSpareServers 1 MaxSpareServers 1 StartServers 1 MaxRequestsPerChild 0
Default setting
Information is added to the lower part of Web pages displaying now.
use Sledge::Plugin::BeforeOutput; use Sledge::Plugin::DebugLeakChecker; ...
Output to Firebug
It is necessary to install Firebug beforehand.
Information is output by console of the Firebug.
use Sledge::Plugin::BeforeOutput; use Sledge::Plugin::DebugLeakChecker qw(Firebug); ...
This module provides information that is leak situation of perl modules.
When you use mod_perl with Apache, I think it to be able to get particularly effective information.
Devel::Leak::Object Sledge::Plugin::BeforeOutput
Firebug Firefox Add-ons https://addons.mozilla.org/ja/firefox/addon/1843
Firebug Lite for IE, Opera and Safari http://getfirebug.com/lite.html
Please report any bugs or suggestions at http://rt.cpan.org/NoAuth/Bugs.html?Dist=Sledge-Plugin-DebugLeakChecker
syushi matsumoto, <matsumoto at alink.co.jp>
<matsumoto at alink.co.jp>
Copyright (C) 2009 Alink INC. all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Sledge::Plugin::DebugLeakChecker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sledge::Plugin::DebugLeakChecker
CPAN shell
perl -MCPAN -e shell install Sledge::Plugin::DebugLeakChecker
For more information on module installation, please visit the detailed CPAN module installation guide.