Devel-DumpTrace
---------------
A debugging module that displays the statements being executed,
substituting variable identifiers with their values.
Example:
$ cat demo.pl
#!/usr/bin/perl
$a = 1;
$b = 3;
$c = 2 * $a + 7 * $b;
@d = ($a, $b, $c + $b);
$ perl -d:DumpTrace=verbose demo.pl
>> demo.pl:2:[__top__]:
>>> $a = 1;
>>>>> 1 = 1;
-------------------------------------------
>> demo.pl:3:[__top__]:
>>> $b = 3;
>>>>> 3 = 3;
-------------------------------------------
>> demo.pl:4:[__top__]:
>>> $c = 2 * $a + 7 * $b;
>>>> $c = 2 * 1 + 7 * 3;
>>>>> 23 = 2 * 1 + 7 * 3;
-------------------------------------------
>> demo.pl:5:[__top__]:
>>> @d = ($a, $b, $c + $b);
>>>> @d = (1, 3, 23 + 3);
>>>>> (1,3,26) = (1, 3, 23 + 3);
-------------------------------------------
INSTALLATION
To install this module, follow the usual recipe:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc Devel::DumpTrace
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Devel-DumpTrace
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Devel-DumpTrace
CPAN Ratings
http://cpanratings.perl.org/d/Devel-DumpTrace
Search CPAN
http://search.cpan.org/dist/Devel-DumpTrace/
LICENSE AND COPYRIGHT
Copyright (C) 2010-2016 Marty O'Brien
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.