124
|
Perl Debugger Pocket Reference
Debuggers
The following is a very narrow selection of what is available:
ddd
Runs on Unix as a front end to gdb. This is an alternative
to
Devel::ptkdb if you happen not to have the appropriate
Perl/Tk modules installed:
perldb@monkey> ddd perl prog args
See man ddd for more info.
komodo
Runs on Windows and Linux. The komodo debugger is
an integral part of the full Integrated Developer Environ-
ment (IDE), which can be bought from ActiveState. Note
the Windows version does not run on DOS.
ptkdb
The classic Perl debugger GUI for all Unix flavors, and
works just as well on Windows. The easiest way to install
this is via the CPAN:
perldb@monkey> perl -MCPAN -e 'install(Tk,Devel::ptkdb)'
Then to run the GUI:
perldb@monkey> perl -d:ptkdb prog
A neat trick to debug CGI programs is to create a BEGIN
block in which you set your environment variable
DISPLAY to wherever (that is, on which target machine)
you want the ptkdb window to appear:
BEGIN { $ENV{DISPLAY} = '192.168.0.7' }
pvdb
A favorite that uses vi as the front end to the debugger:
http://www.perl.com/language/misc/pvdb
oradb
A Perl command-line interface to the Oracle-supplied
PL/SQL debugger. It enables a programmer to step
through a stored procedure or PL/SQL package, in a sim-
ilar manner to using the Perl debugger. Download from:
http://cpan.perl.org/RFOLEY/Oracle::Debug
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.205.136