Debug::FaultAutoBT 0.02
Sponsored Links
Debug::FaultAutoBT 0.02 Ranking & Summary
File size:
0.015 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
6731
Date added:
2007-05-01
Publisher:
Stas Bekman
Publisher URL:
http://search.cpan.org/~p
Debug::FaultAutoBT 0.02 description
Debug::FaultAutoBT is a Perl module for automatic backtrace extractor on SIGSEGV, SIGBUS, etc.
SYNOPSIS
use Debug::FaultAutoBT;
use File::Spec::Functions;
my $tmp_dir = File::Spec::Functions::tmpdir;
my $trace = Debug::FaultAutoBT->new(
dir => "$tmp_dir",
#verbose => 1,
#exec_path => /home/stas/perl/bin/perl,
#core_path_base => catfile($tmp_dir, "mycore"),
#command_path => catfile($tmp_dir, "my-gdb-command"),
#debugger => "gdb",
);
# enable the sighandler
$trace->ready();
# or simply:
Debug::FaultAutoBT->new(dir => "$tmp_dir")->ready;
When a signal, that normally causes a coredump, is delivered This module attempts to automatically extract a backtrace, rather than letting the core file be dumped. This has the following benefits:
no need to setup the environment to allow core file dumped. Sometimes people just dont know how to set it up. Sometimes you arent allowed to set it up (e.g., when the webserver environment is not under your control).
if many Perl programs are run in a row and more than one program segfaults its possible to collect all backtraces, rathen then aborting the run on the first segfault or staying with only the last core file, which will overwrite all the previous ones. For example consider a live webserver or a test suite which may segfault many times for different reasons.
for huge core files, this approach saves disk space. And can be a saver when you dont have disk space left for various reasons (passed the quota?), but still have a few kilo-bytes left.
Currently the following signals are trapped:
SIGQUIT
SIGILL
SIGTRAP
SIGABRT
SIGEMT
SIGFPE
SIGBUS
SIGSEGV
SIGSYS
(If you know of other signals that should be trapped let me know. thanks.)
SYNOPSIS
use Debug::FaultAutoBT;
use File::Spec::Functions;
my $tmp_dir = File::Spec::Functions::tmpdir;
my $trace = Debug::FaultAutoBT->new(
dir => "$tmp_dir",
#verbose => 1,
#exec_path => /home/stas/perl/bin/perl,
#core_path_base => catfile($tmp_dir, "mycore"),
#command_path => catfile($tmp_dir, "my-gdb-command"),
#debugger => "gdb",
);
# enable the sighandler
$trace->ready();
# or simply:
Debug::FaultAutoBT->new(dir => "$tmp_dir")->ready;
When a signal, that normally causes a coredump, is delivered This module attempts to automatically extract a backtrace, rather than letting the core file be dumped. This has the following benefits:
no need to setup the environment to allow core file dumped. Sometimes people just dont know how to set it up. Sometimes you arent allowed to set it up (e.g., when the webserver environment is not under your control).
if many Perl programs are run in a row and more than one program segfaults its possible to collect all backtraces, rathen then aborting the run on the first segfault or staying with only the last core file, which will overwrite all the previous ones. For example consider a live webserver or a test suite which may segfault many times for different reasons.
for huge core files, this approach saves disk space. And can be a saver when you dont have disk space left for various reasons (passed the quota?), but still have a few kilo-bytes left.
Currently the following signals are trapped:
SIGQUIT
SIGILL
SIGTRAP
SIGABRT
SIGEMT
SIGFPE
SIGBUS
SIGSEGV
SIGSYS
(If you know of other signals that should be trapped let me know. thanks.)
Debug::FaultAutoBT 0.02 Screenshot
Sponsored Links
Debug::FaultAutoBT 0.02 Keywords
FaultAutoBT
SIGBUS
SIGSEGV
FaultAutoBT 0.02
DebugFaultAutoBT
Perl module
DIR
Perl
TMP
core
Backtrace
module
Debug::FaultAutoBT 0.02
Libraries
Programming
Bookmark Debug::FaultAutoBT 0.02
Debug::FaultAutoBT 0.02 Copyright
WareSeeker periodically updates pricing and software information of Debug::FaultAutoBT 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Debug::FaultAutoBT 0.02 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Debug::FaultAutoBT 0.02 Related Software
Xdebug project is an extension that helps you debugging your script by providing a lot of valuable debug information.
C++ Debugging Support library is a ostream-based debug output and memory allocation debug support library.
Debug::Message is a Perl module that eases the use of debug print with level, indentation and color.
Debug::Phases is a Perl module to announce BEGIN and INIT phases to help locate problems.
Audiolog scans in realtime logfiles and the output of debug or trace programs like tcpdump.
NVPerfKit is a comprehensive suite of performance tools to help debug and profile OpenGL and Direct3D applications.
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD