Debug::Trace 0.04
Sponsored Links
Debug::Trace 0.04 Ranking & Summary
File size:
0.005 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
5312
Date added:
2007-05-01
Publisher:
Jan-Pieter Cornet
Publisher URL:
http://search.cpan.org/~j
Debug::Trace 0.04 description
Debug::Trace is a Perl extension to trace subroutine calls.
SYNOPSIS
perl -MDebug::Trace=foo,bar yourprogram.pl
Debug::Trace instruments subroutines to provide tracing information upon every call and return.
Using Debug::Trace does not require any changes to your sources. Most often, it will be used from the command line:
perl -MDebug::Trace=foo,bar yourprogram.pl
This will have your subroutines foo() and bar() printing call and return information.
Subroutine names may be fully qualified to denote subroutines in other packages than the default main::.
By default, the trace information is output using the standard warn() function.
MODIFIERS
Modifiers can be inserted in the list of subroutines to change the default behavior of this module. All modifiers can be used in three ways:
:name to enable a specific feature.
:noname to disable a specific feature.
:name(value) to set a feature to a specific value. In general, :name is equivalent to :name(1), while :noname corresponds to :name(0).
The following modifiers are recognized:
:warn
Uses warn() to produce the trace output (default). :nowarn Sends trace output directly to STDERR.
:caller
Add basic call information to the trace message, including from where the routine was called, and by whom. This is enabled by default.
:stacktrace
Add a stack trace (call history).
:maxlen(length)
Truncate the length of the lines of trace information to length characters.
The following modifiers can be used to control the way Data::Dumper prints the values of parameters and return values. See also Data::Dumper.
:indent
Controls the style of indentation. It can be set to 0, 1, 2 or 3. Style 0 spews output without any newlines, indentation, or spaces between list items. :indent(0) is the default.
:useqq
When enabled, uses double quotes for representing string values. Whitespace other than space will be represented as [ntr], "unsafe" characters will be backslashed, and unprintable characters will be output as quoted octal integers. This is the default, use :nouseqq to disable.
:maxdepth(depth)
Can be set to a positive integer that specifies the depth beyond which which we dont print structure contents. The default is 2, which means one level of array/hashes in argument lists and return values is expanded. If you use :nomaxdepth or :maxdepth(0), nested structures are fully expanded.
:quotekeys
Controls wether hash keys are always printed quoted. The default is :noquotekeys.
sortkeys
Controls whether hash keys are dumped in sorted order. The default is :nosortkeys.
Modifiers apply only to the subroutines that follow in the list of arguments.
SYNOPSIS
perl -MDebug::Trace=foo,bar yourprogram.pl
Debug::Trace instruments subroutines to provide tracing information upon every call and return.
Using Debug::Trace does not require any changes to your sources. Most often, it will be used from the command line:
perl -MDebug::Trace=foo,bar yourprogram.pl
This will have your subroutines foo() and bar() printing call and return information.
Subroutine names may be fully qualified to denote subroutines in other packages than the default main::.
By default, the trace information is output using the standard warn() function.
MODIFIERS
Modifiers can be inserted in the list of subroutines to change the default behavior of this module. All modifiers can be used in three ways:
:name to enable a specific feature.
:noname to disable a specific feature.
:name(value) to set a feature to a specific value. In general, :name is equivalent to :name(1), while :noname corresponds to :name(0).
The following modifiers are recognized:
:warn
Uses warn() to produce the trace output (default). :nowarn Sends trace output directly to STDERR.
:caller
Add basic call information to the trace message, including from where the routine was called, and by whom. This is enabled by default.
:stacktrace
Add a stack trace (call history).
:maxlen(length)
Truncate the length of the lines of trace information to length characters.
The following modifiers can be used to control the way Data::Dumper prints the values of parameters and return values. See also Data::Dumper.
:indent
Controls the style of indentation. It can be set to 0, 1, 2 or 3. Style 0 spews output without any newlines, indentation, or spaces between list items. :indent(0) is the default.
:useqq
When enabled, uses double quotes for representing string values. Whitespace other than space will be represented as [ntr], "unsafe" characters will be backslashed, and unprintable characters will be output as quoted octal integers. This is the default, use :nouseqq to disable.
:maxdepth(depth)
Can be set to a positive integer that specifies the depth beyond which which we dont print structure contents. The default is 2, which means one level of array/hashes in argument lists and return values is expanded. If you use :nomaxdepth or :maxdepth(0), nested structures are fully expanded.
:quotekeys
Controls wether hash keys are always printed quoted. The default is :noquotekeys.
sortkeys
Controls whether hash keys are dumped in sorted order. The default is :nosortkeys.
Modifiers apply only to the subroutines that follow in the list of arguments.
Debug::Trace 0.04 Screenshot
Sponsored Links
Debug::Trace 0.04 Keywords
Trace 0.04
DebugTrace
Will Be
trace
default
Perl
modifiers
subroutines
subroutine
Debug::Trace 0.04
Libraries
Programming
Bookmark Debug::Trace 0.04
Debug::Trace 0.04 Copyright
WareSeeker periodically updates pricing and software information of Debug::Trace 0.04 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::Trace 0.04 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::Trace 0.04 Related Software
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::FaultAutoBT is a Perl module for automatic backtrace extractor on SIGSEGV, SIGBUS, etc.
Debug::Phases is a Perl module to announce BEGIN and INIT phases to help locate problems.
Web Interface for SIP Trace is a PHP Web Interface that permits you to connect on a remote host/port and listen/filter.
Audiolog scans in realtime logfiles and the output of debug or trace programs like tcpdump.
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