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.

  • GNU Project Debugger 7.0

    As a source debugger for diverse programming languages such as C, C++ and Pascal, GNU Debugger 7.0 now supports the corresponding Darwin for Mac OS X.

  • Perl – Programming Tips

    If you have been programming for decades, you've likely gathered a personal bag of tricks and best practices over the years – much like this treasure trove from the Perlmeister.

  • 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.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News