Working with the Perl debugger

BUG DOCTOR

Article from Issue 54/2005
Author(s):

Some developers condemn the use of debuggers, but in many cases, a debugger is a programmer’s last hope. In this Month’s Perl Snapshot, we’ll look at Perl’s integrated debugger.

Linus Torvalds does not like debuggers. In Linus’s opinion, it is far too easy to throw a piece of code together and use a debugger to beat some sense into it. Alternatives to debugging do exist. For instance, the careful application of logging removes the need for debugging in many cases. As you can read at [3], Log::Log4perl helps you integrate an appropriate level of debugging into an application and to remotely control debugging activities.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Perl: Perl Debugger

    The Perl interpreter, perl, doesn’t often crash, but if it happens, not even the excellent Perl debugger will be able to help you.

  • PHP with Eclipse

    The PHPEclipse plugin brings the PHP scripting language to the Eclipse development environment, and the Subclipse plugin integrates version control.

  • Perl: Desktop Searches

    On a big, busy Linux desktop, it is too easy for files to get lost. We’ll show you a Perl script that creates a MySQL database to find files in next to no time.

  • Debugging for Admins

    Whether you’re the sys admin of a home network or of a company-wide network of dozens or even hundreds of machines, some basic principles of debugging will come in handy.

  • Google Web Toolkit

    The Google Web Toolkit lets you develop complex web applications in Java and automatically converts them to AJAX apps.

comments powered by Disqus

Direct Download

Read full article as PDF:

Perl_Debugging.pdf (363.94 kB)

News