traces
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 182
Net::Traces::SSFNet 0.02
Net::Traces::SSFNet is a Perl module to analyze traces generated by SSFNet. more>>
Net::Traces::SSFNet is a Perl module to analyze traces generated by SSFNet.
SYNOPSIS
use Net::Traces::SSFNet qw( droptail_record_player droptail_record_plotter );
$Net::Traces::SSFNet::PRINT_EXACT_DECIMAL_DIGITS = 0;
$Net::Traces::SSFNet::SHOW_SOURCES = 1;
$Net::Traces::SSFNet::SHOW_STATS = 0;
# Use with traces created by either
# SSF.Net.droptailQueueMonitor_1 or SSF.Net.droptailQueueMonitor_2
#
droptail_record_player(q.trace, text.output, some_stream_id.0);
# Use with traces created by SSF.Net.droptailQueueMonitor_1
#
droptail_record_plotter(q.trace, some_stream_id.0, drops, pkts, av_qlen);
# Use with traces created by SSF.Net.droptailQueueMonitor_2
#
droptail_record_plotter(q.trace, some_stream_id.0, drops, pkts, sumpkts, sumdrops);
ABSTRACT
Net::Traces::SSFNet can analyze traces created by Scalable Simulator Framework Network Models. It efficiently emulates in Perl the functionality provided by Java-based, SSFNet-bundled trace analyzers, and adds new features, including allowing for finer granularity in the processed output.
<<lessSYNOPSIS
use Net::Traces::SSFNet qw( droptail_record_player droptail_record_plotter );
$Net::Traces::SSFNet::PRINT_EXACT_DECIMAL_DIGITS = 0;
$Net::Traces::SSFNet::SHOW_SOURCES = 1;
$Net::Traces::SSFNet::SHOW_STATS = 0;
# Use with traces created by either
# SSF.Net.droptailQueueMonitor_1 or SSF.Net.droptailQueueMonitor_2
#
droptail_record_player(q.trace, text.output, some_stream_id.0);
# Use with traces created by SSF.Net.droptailQueueMonitor_1
#
droptail_record_plotter(q.trace, some_stream_id.0, drops, pkts, av_qlen);
# Use with traces created by SSF.Net.droptailQueueMonitor_2
#
droptail_record_plotter(q.trace, some_stream_id.0, drops, pkts, sumpkts, sumdrops);
ABSTRACT
Net::Traces::SSFNet can analyze traces created by Scalable Simulator Framework Network Models. It efficiently emulates in Perl the functionality provided by Java-based, SSFNet-bundled trace analyzers, and adds new features, including allowing for finer granularity in the processed output.
Download (0.010MB)
Added: 2007-01-05 License: Perl Artistic License Price:
1026 downloads
ETrace 1.1
ETrace is a configurable static port network tracing tool, similar to traceroute, but supporting ICMP, TCP, UDP, etc. more>>
ETrace is a configurable static port network tracing tool, similar to traceroute, but supporting ICMP, TCP, UDP and other IP protocols.
Usage:
etrace [ -BbCcnv ] [ -p profile ] [ -F config ] [ -i interface ] [ -I icmp-type ] [ -T port ] [ -U port ] [ -P protocol ] [ -r probe-count ] [ -t timeout ] [ -1 hop ] [ -h hop ] [ -m hop ] [ -A address ] [ -s port ] [ -f flags ] [ -d data ] [ -D data-file ] [ -R count ] [ -q seq] [ -w window ] target [...]
Options:
etrace has a wealth of options ranging in function from controlling output to the detailed construction of trace packets.
Profile Options:
A profile is a pre-configured list of options stored in a shared, or user specific configuration file. By defining profiles, complex etrace option sets can be easily accessed with a single command line option.
-p, --profile
Specify a profile.
-C, --clear
Clear the current list of probes. This option can be used to allow a profile to inherit options from another profile, but specify its own list of probes.
-F, --config
Specify an alternative profiles file.
Interface options
-i, --interface
Specify interface. If unspecified, etrace will examine the routing table and select the most appropriate interface for each target address.
-c, --promisc
Put in interface into promiscuous mode. As this option increases the load on the system in general, it should only be used if spoofing of source packets address is enabled with the "-A" option.
Trace Type Options
-I, --icmp
Specify an ICMP trace and the packet type to use. ICMP traces may use Echo (E or P), Timestamp (T or S), Netmask (N or M) or Info (I). The default trace probe is an ICMP Echo.
-h, --hop
Specify a specific hop to investigate.
-m, --maximum
Specify the maximum number of hops.
-r, --probes
Set the maximum number of probes to send per hop. The default is 3.
-t, --timeout
Set the maximum amount of time, in milli-seconds, to wait for a response to a probe. The default is 3000 (three seconds).
Packet Construction Options
-A, --address
Specify the source IP address of generated packets.
-s, --source
Set the source port of the generated probe packets. If unspecified, etrace uses a random high port.
-f, --flags
Specify TCP and/or IP flags. Takes a comma delimitered list of any of the following flags: RF, DF, MF, FIN, SYN, RST, PSH, ACK, URG, ECE, CWR (Default: SYN)
-d, --data
Specify the data content of generated probe packets. Standard meta-characters are recognised (e.g. "nt") as are binary values given in octal (e.g. " 00x00");
-D, --data-file
Load the data content of the generated probe packets from the specified file. Filenames beginning with @ a loaded from the etrace shared data directory (usually /usr/local/share/etrace). etrace currently ships with the following predfined packet data files: dns, ike.
-R, --random
Fill the data content of the generated probe packets with the specified number of random bytes.
-b, --badcksum
Generate and send probe packets with bad checksums.
-q, --seq
Specify the TCP sequence number.
-w, --window
Specify the TCP window size.
Output Options
-v, --verbose
Increase output verbosity.
-B, --debug
Enable debugging output.
-n, --numeric
Disable name resolution.
Examples:
etrace www.sample.com
Launches a trace ICMP Echo, the default, trace to www.sample.com. Specifiying the options "-I E" whould accomplish the same results.
etrace -T 80 www.sample.com
Similar to the previous example, except the trace is performed on TCP port 80.
etrace --udp 53 --data-file @dns ns.sample.com
Starts are trace to ns.sample.com on UDP port 53 with the trace packets containing data loaded from the file /usr/local/share/etrace/dns (a file supplied with etrace that contains a simple dns request to resolve 127.0.0.1).
etrace -p dns -p fast ns.sample.com
The default profiles shipped with etrace include "dns" (which equates to the options shown in the previous example) and "fast" (which decreases both timeouts and the number of probes sent for each hop, as well as disabling name resolution). Profiles are stackable, with latter options overriding those specified in earlier profiles.
<<lessUsage:
etrace [ -BbCcnv ] [ -p profile ] [ -F config ] [ -i interface ] [ -I icmp-type ] [ -T port ] [ -U port ] [ -P protocol ] [ -r probe-count ] [ -t timeout ] [ -1 hop ] [ -h hop ] [ -m hop ] [ -A address ] [ -s port ] [ -f flags ] [ -d data ] [ -D data-file ] [ -R count ] [ -q seq] [ -w window ] target [...]
Options:
etrace has a wealth of options ranging in function from controlling output to the detailed construction of trace packets.
Profile Options:
A profile is a pre-configured list of options stored in a shared, or user specific configuration file. By defining profiles, complex etrace option sets can be easily accessed with a single command line option.
-p, --profile
Specify a profile.
-C, --clear
Clear the current list of probes. This option can be used to allow a profile to inherit options from another profile, but specify its own list of probes.
-F, --config
Specify an alternative profiles file.
Interface options
-i, --interface
Specify interface. If unspecified, etrace will examine the routing table and select the most appropriate interface for each target address.
-c, --promisc
Put in interface into promiscuous mode. As this option increases the load on the system in general, it should only be used if spoofing of source packets address is enabled with the "-A" option.
Trace Type Options
-I, --icmp
Specify an ICMP trace and the packet type to use. ICMP traces may use Echo (E or P), Timestamp (T or S), Netmask (N or M) or Info (I). The default trace probe is an ICMP Echo.
-h, --hop
Specify a specific hop to investigate.
-m, --maximum
Specify the maximum number of hops.
-r, --probes
Set the maximum number of probes to send per hop. The default is 3.
-t, --timeout
Set the maximum amount of time, in milli-seconds, to wait for a response to a probe. The default is 3000 (three seconds).
Packet Construction Options
-A, --address
Specify the source IP address of generated packets.
-s, --source
Set the source port of the generated probe packets. If unspecified, etrace uses a random high port.
-f, --flags
Specify TCP and/or IP flags. Takes a comma delimitered list of any of the following flags: RF, DF, MF, FIN, SYN, RST, PSH, ACK, URG, ECE, CWR (Default: SYN)
-d, --data
Specify the data content of generated probe packets. Standard meta-characters are recognised (e.g. "nt") as are binary values given in octal (e.g. " 00x00");
-D, --data-file
Load the data content of the generated probe packets from the specified file. Filenames beginning with @ a loaded from the etrace shared data directory (usually /usr/local/share/etrace). etrace currently ships with the following predfined packet data files: dns, ike.
-R, --random
Fill the data content of the generated probe packets with the specified number of random bytes.
-b, --badcksum
Generate and send probe packets with bad checksums.
-q, --seq
Specify the TCP sequence number.
-w, --window
Specify the TCP window size.
Output Options
-v, --verbose
Increase output verbosity.
-B, --debug
Enable debugging output.
-n, --numeric
Disable name resolution.
Examples:
etrace www.sample.com
Launches a trace ICMP Echo, the default, trace to www.sample.com. Specifiying the options "-I E" whould accomplish the same results.
etrace -T 80 www.sample.com
Similar to the previous example, except the trace is performed on TCP port 80.
etrace --udp 53 --data-file @dns ns.sample.com
Starts are trace to ns.sample.com on UDP port 53 with the trace packets containing data loaded from the file /usr/local/share/etrace/dns (a file supplied with etrace that contains a simple dns request to resolve 127.0.0.1).
etrace -p dns -p fast ns.sample.com
The default profiles shipped with etrace include "dns" (which equates to the options shown in the previous example) and "fast" (which decreases both timeouts and the number of probes sent for each hop, as well as disabling name resolution). Profiles are stackable, with latter options overriding those specified in earlier profiles.
Download (0.046MB)
Added: 2007-08-18 License: GPL (GNU General Public License) Price:
798 downloads
pretrace 0.4
pretrace is a preload library that allows specified (dynamically linked) applications to always be executed. more>>
pretrace is a preload library that allows specified (dynamically linked) applications to always be executed under a debugging environment.
pretrace library allows you to specify the percentage of invocations which will be traced, to help you "keep an eye" on applications without bringing the machine to its knees.
To start using pretrace, add libpretrace.so to your /etc/ld.so.preload.
root# echo /lib/libpretrace.so >> /etc/ld.so.preload
You can now specify applications to trace in /etc/pretrace.conf, the format is one application per line, if you would like to specify a debugger append a colon, then the full path to the debugger and any arguments you would like to pass. If you do not specify a debugger, you get the default, strace, which saves the output to .logfile in the current working directory.
An optional number can be appended in the format %N, eg %50, to specify what percentage of invocations should be traced.
# this is a comment
/full/path/to/application[%percent][:/full/path/to/debugger [arg1 arg2 ...]]
An example pretrace.conf is provided with this distribution.
After modifying pretrace.conf, you should execute ptgenmap to generate a new map file, this is used to quickly parse the configuration file with minimal impact on initialisation time.
libpretrace is designed as a debugging utility for developers and auditors, and should not be used in a production environment.
<<lesspretrace library allows you to specify the percentage of invocations which will be traced, to help you "keep an eye" on applications without bringing the machine to its knees.
To start using pretrace, add libpretrace.so to your /etc/ld.so.preload.
root# echo /lib/libpretrace.so >> /etc/ld.so.preload
You can now specify applications to trace in /etc/pretrace.conf, the format is one application per line, if you would like to specify a debugger append a colon, then the full path to the debugger and any arguments you would like to pass. If you do not specify a debugger, you get the default, strace, which saves the output to .logfile in the current working directory.
An optional number can be appended in the format %N, eg %50, to specify what percentage of invocations should be traced.
# this is a comment
/full/path/to/application[%percent][:/full/path/to/debugger [arg1 arg2 ...]]
An example pretrace.conf is provided with this distribution.
After modifying pretrace.conf, you should execute ptgenmap to generate a new map file, this is used to quickly parse the configuration file with minimal impact on initialisation time.
libpretrace is designed as a debugging utility for developers and auditors, and should not be used in a production environment.
Download (0.007MB)
Added: 2005-12-16 License: GPL (GNU General Public License) Price:
1407 downloads
dnstracer 1.8
dnstracer trace a chain of DNS servers to the source. more>>
Dnstracer determines where a given Domain Name Server (DNS) gets its information from, and follows the chain of DNS servers back to the servers which know the data.
Enhancements:
- Better handling of timeout (instead of a static value, start with five seconds and double it each retry)
- Warnings are printed if you receive a different RR type than the one you asked for (for example when you ask for an A record and receive a CNAME)
- Fixed problems when records received in the authority field are shorter than the domain the nameserver is authoritative for.
- When compiled without IPv6 support on an IPv6 capable machine the machine tried to query the IPv6 translated IPv5 address anyway.
- -C caches hosts which havent answered too.
<<lessEnhancements:
- Better handling of timeout (instead of a static value, start with five seconds and double it each retry)
- Warnings are printed if you receive a different RR type than the one you asked for (for example when you ask for an A record and receive a CNAME)
- Fixed problems when records received in the authority field are shorter than the domain the nameserver is authoritative for.
- When compiled without IPv6 support on an IPv6 capable machine the machine tried to query the IPv6 translated IPv5 address anyway.
- -C caches hosts which havent answered too.
Download (0.12MB)
Added: 2005-04-26 License: BSD License Price:
1652 downloads
ltrace 0.3.36
ltrace it tracks runtime library calls in dynamically-linked programs. more>>
ltrace is a debugging program which runs a specified command until it exits. While the command is executing, ltrace intercepts and records the dynamic library calls which are called by the executed process and the signals received by that process.
It can also intercept and print the system calls executed by the program.
The program to be traced need not be recompiled for this, so you can use it on binaries for which you dont have the source handy.
You should install ltrace if you need a sysadmin tool for tracking the execution of processes.
Enhancements:
- Changed distribution to pristine source
- New Standards-Version (3.6.1)
- Fixed "--indent" option (closes: Bug#265185)
<<lessIt can also intercept and print the system calls executed by the program.
The program to be traced need not be recompiled for this, so you can use it on binaries for which you dont have the source handy.
You should install ltrace if you need a sysadmin tool for tracking the execution of processes.
Enhancements:
- Changed distribution to pristine source
- New Standards-Version (3.6.1)
- Fixed "--indent" option (closes: Bug#265185)
Download (0.12MB)
Added: 2005-04-18 License: GPL (GNU General Public License) Price:
1664 downloads
Tie::Trace 0.05
Tie::Trace can easy print debugging with tie. more>>
Tie::Trace can easy print debugging with tie.
SYNOPSIS
use Tie::Trace;
my %hash;
tie %hash, "Tie::Trace";
$hash{hoge} = hogehoge; # warn Hash => Key: hoge, Value: hogehgoe at ...
my @array;
tie @aray, "Tie::Trace";
push @array, "array"; # warn Array => Point: 0, Value: array at ...
my $scalar;
tie $scalar, "Tie::Trace";
$scalar = "scalar"; # warn Scalar => Value: scalar at ...
This is usefull for print debugging. Using tie mechanism, you can see sotred value for the specified variable.
If the stored value is scalar/array/hash ref, this can check recursively.
for example;
tie %hash, "Tie::Trace";
$hash{foo} = {a => 1, b => 2}; # warn ...
$hash{foo}->{a} = 2 # warn ...
But This ignores blessed reference and tied value.
<<lessSYNOPSIS
use Tie::Trace;
my %hash;
tie %hash, "Tie::Trace";
$hash{hoge} = hogehoge; # warn Hash => Key: hoge, Value: hogehgoe at ...
my @array;
tie @aray, "Tie::Trace";
push @array, "array"; # warn Array => Point: 0, Value: array at ...
my $scalar;
tie $scalar, "Tie::Trace";
$scalar = "scalar"; # warn Scalar => Value: scalar at ...
This is usefull for print debugging. Using tie mechanism, you can see sotred value for the specified variable.
If the stored value is scalar/array/hash ref, this can check recursively.
for example;
tie %hash, "Tie::Trace";
$hash{foo} = {a => 1, b => 2}; # warn ...
$hash{foo}->{a} = 2 # warn ...
But This ignores blessed reference and tied value.
Download (0.008MB)
Added: 2007-08-10 License: Perl Artistic License Price:
807 downloads
mftrace 1.1.17
mftrace is a small Python program that lets you trace a TeX bitmap font into a PFA or PFB font. more>>
mftrace is a small Python program that lets you trace a TeX bitmap font into a PFA or PFB font (A PostScript Type1 Scalable Font) or TTF (TrueType) font.
Scalable fonts offer many advantages over bitmaps, as they allow documents to render correctly at many printer resolutions. Moreover, Ghostscript can generate much better PDF, if given scalable PostScript fonts.
mftrace project is licensed under the GNU GPL.
<<lessScalable fonts offer many advantages over bitmaps, as they allow documents to render correctly at many printer resolutions. Moreover, Ghostscript can generate much better PDF, if given scalable PostScript fonts.
mftrace project is licensed under the GNU GPL.
Download (0.057MB)
Added: 2005-12-12 License: GPL (GNU General Public License) Price:
1413 downloads
Debug::Trace 0.04
Debug::Trace is a Perl extension to trace subroutine calls. more>>
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.
<<lessSYNOPSIS
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.
Download (0.005MB)
Added: 2007-05-01 License: Perl Artistic License Price:
906 downloads
trace2html 0.2.1
trace2html is a HTML coverage report generator for trace.py. more>>
trace2html is a HTML coverage report generator for trace.py.
trace2html is a utility to convert execution coverage data obtained with the trace module of the standard Python library into a set of human readable HTML documents showing a sortable summary and annotated source files.
Installation:
As usual, you can either use `sudo easy_install -U trace2html` or extract the archive and run::
$ sudo python setup.py install
Sample usage:
Generate coverage data in the counts file with trace.py::
$ /usr/lib/python2.4/trace.py -mc -C coverage_dir -f counts my_testrunner.py
Write a report in directory coverage_dir from data collected in counts::
$ trace2html.py -f counts -o coverage_dir
$ firefox coverage_dir/index.html
Load data from several files (the report is written to coverage_dir by default)::
$ trace2html.py -f file1 -f2 file2
$ firefox coverage_dir/index.html
Enhancements:
- Packaging bugs in the source distribution (missing files) were fixed.
<<lesstrace2html is a utility to convert execution coverage data obtained with the trace module of the standard Python library into a set of human readable HTML documents showing a sortable summary and annotated source files.
Installation:
As usual, you can either use `sudo easy_install -U trace2html` or extract the archive and run::
$ sudo python setup.py install
Sample usage:
Generate coverage data in the counts file with trace.py::
$ /usr/lib/python2.4/trace.py -mc -C coverage_dir -f counts my_testrunner.py
Write a report in directory coverage_dir from data collected in counts::
$ trace2html.py -f counts -o coverage_dir
$ firefox coverage_dir/index.html
Load data from several files (the report is written to coverage_dir by default)::
$ trace2html.py -f file1 -f2 file2
$ firefox coverage_dir/index.html
Enhancements:
- Packaging bugs in the source distribution (missing files) were fixed.
Download (0.007MB)
Added: 2006-03-19 License: GPL (GNU General Public License) Price:
1315 downloads
Devel::TraceFuncs 0.1
Devel::TraceFuncs is a Perl module with trace function calls as they happen. more>>
Devel::TraceFuncs is a Perl module with trace function calls as they happen.
SYNOPSIS
Usage:
require Devel::TraceFuncs;
max_trace_depth 5;
trace_file "foo.out";
trace_file $file_handle;
sub foo {
IN(my $f, "a message");
DEBUG "hellooo!";
}
Devel::TraceFuncs provides utilities to trace the execution of a program. It can print traces that look something like:
+-> global: 0
| +-> main::fo(4, 5) (in ./t.pm:32): now then
| | +-> main::fp(4, 5) (in ./t.pm:19)
| | | +-> main::fq() (in ./t.pm:13)
| | | | que pee doll (in ./t.pm:8)
| | | +-< main::fq() (in ./t.pm:13)
| | | cee dee (in ./t.pm:14)
| | +-< main::fp(4, 5) (in ./t.pm:19)
| | ha
| | hs (in ./t.pm:20)
| +-< main::fo(4, 5) (in ./t.pm:32): now then
| done (in ./t.pm:34)
+-< global: 0
IN
A trace begins when a function calls IN. A myd variable is passed in, such that when that function exits, the destructor for the variable is called. If this trace is to be printed, the opening line of the trace in printed at this time. Any other parameters are concatenated together, and printed on both the opening and closing lines of the trace.
I wish the syntax could be a little nicer here, but I couldnt find anything in perl that resembles Tcls uplevel or upvar commands. If I was one of the perl gods, I could have figured out a way to do something like perl5db.pl:
sub sub {
# create a new subroutine, with a myd TraceFunc object
}
DEBUG
Print some text to the trace file, at the correct depth in the trace. If the last parameter ends in "!", the arguments are printed, regardless of current depth.
trace_file
trace_file takes one argument, which is either a file name or an open file handle. All trace output will go to this file.
max_trace_depth
To avoid lots of nesting, particularly from recursive function calls, you can set the maximum depth to be traced. If this is -1 (the default), all levels of functions are traced. If it is 0, no trace output occurs, except for DEBUG statements that end in "!".
<<lessSYNOPSIS
Usage:
require Devel::TraceFuncs;
max_trace_depth 5;
trace_file "foo.out";
trace_file $file_handle;
sub foo {
IN(my $f, "a message");
DEBUG "hellooo!";
}
Devel::TraceFuncs provides utilities to trace the execution of a program. It can print traces that look something like:
+-> global: 0
| +-> main::fo(4, 5) (in ./t.pm:32): now then
| | +-> main::fp(4, 5) (in ./t.pm:19)
| | | +-> main::fq() (in ./t.pm:13)
| | | | que pee doll (in ./t.pm:8)
| | | +-< main::fq() (in ./t.pm:13)
| | | cee dee (in ./t.pm:14)
| | +-< main::fp(4, 5) (in ./t.pm:19)
| | ha
| | hs (in ./t.pm:20)
| +-< main::fo(4, 5) (in ./t.pm:32): now then
| done (in ./t.pm:34)
+-< global: 0
IN
A trace begins when a function calls IN. A myd variable is passed in, such that when that function exits, the destructor for the variable is called. If this trace is to be printed, the opening line of the trace in printed at this time. Any other parameters are concatenated together, and printed on both the opening and closing lines of the trace.
I wish the syntax could be a little nicer here, but I couldnt find anything in perl that resembles Tcls uplevel or upvar commands. If I was one of the perl gods, I could have figured out a way to do something like perl5db.pl:
sub sub {
# create a new subroutine, with a myd TraceFunc object
}
DEBUG
Print some text to the trace file, at the correct depth in the trace. If the last parameter ends in "!", the arguments are printed, regardless of current depth.
trace_file
trace_file takes one argument, which is either a file name or an open file handle. All trace output will go to this file.
max_trace_depth
To avoid lots of nesting, particularly from recursive function calls, you can set the maximum depth to be traced. If this is -1 (the default), all levels of functions are traced. If it is 0, no trace output occurs, except for DEBUG statements that end in "!".
Download (0.004MB)
Added: 2007-05-02 License: Perl Artistic License Price:
905 downloads
eXtace 1.9.6
eXtace is a Audio Visualization plugin for the X-Window System. more>>
eXtace is a Audio Visualization plugin for the X-Window System.
eXtace project connects to ESD (Enlightened Sound Daemon) and displays the audio data as either a pseudo 3D flying landscape, pseudo 3D pointed landscape, 16-256 channel graphic EQ, multi-mode Oscilloscopes, Horizontal Spectrogram, or a combination Hi-res FFT with a Vertical Spectrogram.
All modes are fully scalable to nearly ANY resolution! (within your CPU/X11 capabilites) Resolutions up to 1600x1200 at 40 FPS use typially less than 30% CPU, depending on your host CPU/X11 capabilities.
Enhancements:
- Fixed problem with dragging of traces.
- Added new line EQ mode., removed old code cruft.
<<lesseXtace project connects to ESD (Enlightened Sound Daemon) and displays the audio data as either a pseudo 3D flying landscape, pseudo 3D pointed landscape, 16-256 channel graphic EQ, multi-mode Oscilloscopes, Horizontal Spectrogram, or a combination Hi-res FFT with a Vertical Spectrogram.
All modes are fully scalable to nearly ANY resolution! (within your CPU/X11 capabilites) Resolutions up to 1600x1200 at 40 FPS use typially less than 30% CPU, depending on your host CPU/X11 capabilities.
Enhancements:
- Fixed problem with dragging of traces.
- Added new line EQ mode., removed old code cruft.
Download (0.42MB)
Added: 2006-12-04 License: GPL (GNU General Public License) Price:
1056 downloads
Oracle::Trace 1.06
Oracle::Trace is a Perl Module for parsing Oracle Trace files. more>>
Oracle::Trace is a Perl Module for parsing Oracle Trace files.
SYNOPSIS
use Oracle::Trace;
print Oracle::Trace->new($tracefilename)->parse->test_report;
Currently the parsing and statistics are very rudimentary, and in certain matters may be fundamentally flawed - you have been warned! Expect this to improve as further development takes place.
new
Create a new object for a given Orace Trace file.
my $o_trc = Oracle::Trace->new($tracefile);
init
Initialise the object (check the tracefile).
$o_trc->init.
opentracefile
Perform basic exists/read/etc. checks on given tracefile.
Returns object or undef.
$o_trc = $o_trc->checkfile($tfile);
header
Return the Header object.
my $o_hdr = $o_trc->header;
entries
Return Entry objects which comply with given regex criteria.
my @o_ents = $o_trc->entries(type=>EXEC #d+, key=>dep, value=>0);
oids
Return the unique object ids for the currently known Entryies
my @oids = $o_trc->oids;
footer
Return the Footer object
my $o_ftr = $o_trc->footer;
test_report
Return a simple test_report of the current object.
print $o_trc->test_report(string);
mini_report
Return a simple string of descending order timings for the statements retrieved from the given objects.
my $s_str = $o_trc->mini_report($i_max, @o_objs);
Note that we use microsecond resolution for Oracle 9i and above and centisecond resolution otherwise
<<lessSYNOPSIS
use Oracle::Trace;
print Oracle::Trace->new($tracefilename)->parse->test_report;
Currently the parsing and statistics are very rudimentary, and in certain matters may be fundamentally flawed - you have been warned! Expect this to improve as further development takes place.
new
Create a new object for a given Orace Trace file.
my $o_trc = Oracle::Trace->new($tracefile);
init
Initialise the object (check the tracefile).
$o_trc->init.
opentracefile
Perform basic exists/read/etc. checks on given tracefile.
Returns object or undef.
$o_trc = $o_trc->checkfile($tfile);
header
Return the Header object.
my $o_hdr = $o_trc->header;
entries
Return Entry objects which comply with given regex criteria.
my @o_ents = $o_trc->entries(type=>EXEC #d+, key=>dep, value=>0);
oids
Return the unique object ids for the currently known Entryies
my @oids = $o_trc->oids;
footer
Return the Footer object
my $o_ftr = $o_trc->footer;
test_report
Return a simple test_report of the current object.
print $o_trc->test_report(string);
mini_report
Return a simple string of descending order timings for the statements retrieved from the given objects.
my $s_str = $o_trc->mini_report($i_max, @o_objs);
Note that we use microsecond resolution for Oracle 9i and above and centisecond resolution otherwise
Download (0.011MB)
Added: 2007-04-25 License: Perl Artistic License Price:
551 downloads
Beesoft Tracer 0.04
Beesoft Tracer is a suite of tools for a remote debugging of running program. more>>
Beesoft Tracer project is a suite of tools for a remote debugging of running program. All elements are wrote in pure C++ with using STL library. The communication between elements is via sockets: so called unix domain socket and TCP/IP.
Elements of Beesoft Tracer system:
In whole process are used three applications.
1) the debugged program, which sends informations about own states to the server,
2) the trace server, named tracesrv, is a program collecting all information coming from the debugged program. The information can be send to one client program, if this is connected.
3) the trace client, receives information from the trace server, and displays them in text mode. GUI client is already in development and will be soon available.
Advantages of system:
- the debugged program is executed only a bit slower, almost goes normal and simultaneously sends all debugging information, which need a programmer for debugging. Information are sent to the server via unix domain socket.
- the client program, which displays received information, can be in other computer - in remote host (or at the same). Information are receiving via TCP/IP protocol.
How can you use it?
To debugging the remote program it is needed:
1) download source code of Beesoft Tracer to disk,
2) build a library libbstrace and the programs tracesrv and tracecli (use make ),
3) add a appropriate macros into the source code of the program which should be debugged (macros are defined in the header file Tracer.h) and in compile time link static library libbstrace.a.
After that you are ready for debugging!
To run the debugging enviroment:
1) start (followed programs must be run on the same machine):
a) first tracesrv
b) next debugged program ( for tests in packet is accesible program example),
2) on remote or on the same machine start client tracecli.
In the package file you can find the source code of the example program. There you can see the right using of necessary macros!
<<lessElements of Beesoft Tracer system:
In whole process are used three applications.
1) the debugged program, which sends informations about own states to the server,
2) the trace server, named tracesrv, is a program collecting all information coming from the debugged program. The information can be send to one client program, if this is connected.
3) the trace client, receives information from the trace server, and displays them in text mode. GUI client is already in development and will be soon available.
Advantages of system:
- the debugged program is executed only a bit slower, almost goes normal and simultaneously sends all debugging information, which need a programmer for debugging. Information are sent to the server via unix domain socket.
- the client program, which displays received information, can be in other computer - in remote host (or at the same). Information are receiving via TCP/IP protocol.
How can you use it?
To debugging the remote program it is needed:
1) download source code of Beesoft Tracer to disk,
2) build a library libbstrace and the programs tracesrv and tracecli (use make ),
3) add a appropriate macros into the source code of the program which should be debugged (macros are defined in the header file Tracer.h) and in compile time link static library libbstrace.a.
After that you are ready for debugging!
To run the debugging enviroment:
1) start (followed programs must be run on the same machine):
a) first tracesrv
b) next debugged program ( for tests in packet is accesible program example),
2) on remote or on the same machine start client tracecli.
In the package file you can find the source code of the example program. There you can see the right using of necessary macros!
Download (0.044MB)
Added: 2007-07-29 License: GPL (GNU General Public License) Price:
817 downloads
Devel::TraceMethods 1.00
Devel::TraceMethods is a Perl module for tracing module calls. more>>
Devel::TraceMethods is a Perl module for tracing module calls.
SYNOPSIS
use Devel::TraceMethods qw( PackageOne PackageTwo );
Devel::TraceMethods allows you to attach a logging subroutine of your choosing to all of the methods and functions within multiple packages or classes. You can use this to trace execution. It even respects inheritance.
To enable logging, pass the name of the packages you wish to trace on the line where you use Devel::TraceMethods. It will automatically install logging for all functions in the named packages.
You can also call import() after you have use()d the module if you want to log functions and methods in another package.
You can specify per-package (or per-class) logging subroutines. For example:
Devel::TraceMethods( SomePackage => &log_one, OtherPackage => &log_two );
callback( $subroutine_reference )
By default, Devel::TraceMethods uses Carp::carp() to log a method call. You can change this with the set_logger() function. Pass a subroutine reference as the only argument, and all subsequent calls to logged methods will use the new subroutine reference instead of carp().
The first argument to the logging subroutine is the full name of the logged method. The rest of the arguments are copies of those being passed to the logged method. You can modify them in the logging subroutine without disturbing your call.
<<lessSYNOPSIS
use Devel::TraceMethods qw( PackageOne PackageTwo );
Devel::TraceMethods allows you to attach a logging subroutine of your choosing to all of the methods and functions within multiple packages or classes. You can use this to trace execution. It even respects inheritance.
To enable logging, pass the name of the packages you wish to trace on the line where you use Devel::TraceMethods. It will automatically install logging for all functions in the named packages.
You can also call import() after you have use()d the module if you want to log functions and methods in another package.
You can specify per-package (or per-class) logging subroutines. For example:
Devel::TraceMethods( SomePackage => &log_one, OtherPackage => &log_two );
callback( $subroutine_reference )
By default, Devel::TraceMethods uses Carp::carp() to log a method call. You can change this with the set_logger() function. Pass a subroutine reference as the only argument, and all subsequent calls to logged methods will use the new subroutine reference instead of carp().
The first argument to the logging subroutine is the full name of the logged method. The rest of the arguments are copies of those being passed to the logged method. You can modify them in the logging subroutine without disturbing your call.
Download (0.005MB)
Added: 2007-05-03 License: Perl Artistic License Price:
904 downloads
Acme::JavaTrace 0.06
Acme::JavaTrace is a Perl module for using Java-like stack traces. more>>
Acme::JavaTrace is a Perl module for using Java-like stack traces.
SYNOPSIS
On the command-line:
perl -wMAcme::JavaTrace program_with_strange_errors.pl
Inside a module:
use Acme::JavaTrace;
warn "some kind of non-fatal exception occured";
die "some kind of fatal exception occured";
< buzzword >This module tries to improves the Perl programmer experience by porting the Java paradigm to print stack traces, which is more professional than Perls way. < /buzzword >
This is achieved by modifying the functions warn() and die() in order to replace the standard messages by complete stack traces that precisely indicates how and where the error or warning occurred. Other than this, their use should stay unchanged, even when using die() inside eval().
<<lessSYNOPSIS
On the command-line:
perl -wMAcme::JavaTrace program_with_strange_errors.pl
Inside a module:
use Acme::JavaTrace;
warn "some kind of non-fatal exception occured";
die "some kind of fatal exception occured";
< buzzword >This module tries to improves the Perl programmer experience by porting the Java paradigm to print stack traces, which is more professional than Perls way. < /buzzword >
This is achieved by modifying the functions warn() and die() in order to replace the standard messages by complete stack traces that precisely indicates how and where the error or warning occurred. Other than this, their use should stay unchanged, even when using die() inside eval().
Download (0.015MB)
Added: 2007-06-07 License: Perl Artistic License Price:
869 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above traces search only lists software in full, demo and trial versions for free download. 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