References
|
123
History
Perl has always had a debugger, since the language started
life at the hands of Larry Wall in 1987. Originally the syntax
was:
perldb@monkey> perldb prog progargs
It was in Perl Version 3 (1989) that Larry gave the debugger a
big workover and the familiar, and current,
-d usage came
about:
perldb@monkey> perl -d prog
The Perl debugger is now a work of many hands. Tom Chris-
tiansen and Ilya Zakharevich in particular have gotten their
hands the dirtiest in developing the debugger. Gurusamy Sar-
athy has built an OO API to the debugger, which may be the
base of the Perl 6 debugger. Currently the relevant module is
DB.pm in the Perl distribution.
GUIs—Graphical User Interfaces
There are a number of Graphical User Interface (GUI) Perl
debuggers available, for different platforms. The nice thing
about a GUI debugger is it gives separate windows for com-
mand input, source code, and output. When placing the
mouse cursor over a variable, it displays the value. Essen-
tially, GUI debuggers add an ease-of-use layer to the existing
functionality.
Some of these interface to the existing perl5db.pl debugger,
while others have created their own interpretation of it. There-
fore, the command sets and APIs differ somewhat from one to
another, although the general principles remain similar.