Приглашаем посетить
Американская литература (american-lit.niv.ru)

Section B.15.  Debugging

Previous
Table of Contents
Next

B.15. Debugging

There's a debugger that comes with Perl and supports breakpoints, watchpoints, single-stepping, and most things you'd want in a command-line Perl debugger. It's written in Perl, so if there are bugs in the debugger, we're not sure how they get those out. In addition to all of the usual debugger commands, you can run Perl code from the debuggercalling your subroutines, changing variables, even redefining subroutineswhile your program is running. See the perldebug manpage for the latest details. The Alpaca gives a detailed walkthrough of the debugger.

Another debugging tactic is to use the B::Lint module, which is still preliminary as of this writing.

    Previous
    Table of Contents
    Next