Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.876.114 Times

Devel::TraceFuncs 0.1

  Date Added: November 12, 2010  |  Visits: 631

Devel::TraceFuncs

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)



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 "!"..

Requirements: No special requirements
Platforms: Linux
Keyword: Calls Debug Develtracefuncs File Function Function Calls In Libraries Perl Perl Module Trace Trace Function Tracefuncs
Users rating: 0/10

License: Freeware Size: 4.1 KB
USER REVIEWS
More Reviews or Write Review


DEVEL::TRACEFUNCS RELATED
Libraries  -  File::Find::Rule 0.30
SYNOPSIS use File::Find::Rule; # find all the subdirectories of a given directory my @subdirs = File::Find::Rule->directory->in( $directory ); # find all the .pm files in @INC my @files = File::Find::Rule->file() ->name( *.pm ) ->in( @INC...
14.34 KB  
Development Tools  -  PHP_FunctionCallTracer .0RC1 1.0
PHP_FunctionCallTracer creates a function calls debug trace. Functions arguments, returned parameters and watched variables are reported in the same section. Traced variables can be processed by provided user functions for displaying purposes.
 
Programming  -  PHP_FunctionCallTracer 1.0.0
Creates a function calls debug trace. Functions arguments, returned parameters and watched variables are reported in the same section. Traced variables can be processed by provided user functions for displaying purposes.
19.86 KB  
Development Tools  -  Modal TIme History Analysis of Structures 1.0
Complete description of this function is provided in a PDF file. Two examples will help you to use this function for either base excitation load (earthquake) or time-variant forces on DOFs.There is a new feature in this function which will let you...
368.64 KB  
Programming  -  dyncall 0.5
The dyncall library encapsulates architecture-, OS- and compiler-specific function call semantics in a virtual "bind argument parameters from left to right and then call" interface allowing programmers to call C functions in a completely dynamic...
256 KB  
Libraries  -  File::Find 5.8.8
File::Find is a Perl module to traverse a directory tree. SYNOPSIS use File::Find; find(&wanted, @directories_to_search); sub wanted { ... } use File::Find; finddepth(&wanted, @directories_to_search); sub wanted { ... } use File::Find;...
12.2 MB  
Programming  -  Scheme2Js 20060718
Scheme2Js is a Scheme to Javascript compiler. While some effort has been spent on being as close as possible to R5rs, we concentrated mainly on efficiency. Usually Scheme2Js produces Javascript code, that is comparable to hand-written code. In...
78.85 KB  
Libraries  -  DB::Appgen 1.0
DB::Appgen is a Perl interface which includes both function oriented and object oriented interfaces to manipulate data in APPGEN Custom Suite databases. All this was made in about four hours including reading perlxstut manpage, so do not expect...
9.22 KB  
Desktop Utilities  -  File type determination 0.9
File type determination is a little KDE Service Menu that calls the GNU file command to retrieve Mime information from files, and presents it inside a standard KDE dialog..
 
Database Tools  -  MySQL PHP to Posgres Converter 0.94
MySQL PHP to PostgreSQL is an application that takes a php page that uses mysql calls and changes them into PostgreSQL calls. This allows any website (if it converts properly) that was written in PHP for MySQL to run as a website written to run...
11.26 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB