Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Debugger Tutorials

by nysus (Parson)
on Jun 13, 2001 at 21:15 UTC ( #88128=note: print w/replies, xml ) Need Help??

in reply to Debugger Tutorials

Basic debugger concept #1: the built in Perl debugger referenced above will not work unless your program compiles. So if you have major flaws in your code, the built-in Perl debugger is useless. So as a first step, be sure you:
use strict;
use diagnostics;
and to call Perl using the '-w' (warnings) switch.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot";
$nysus = $PM . $MCF;

Replies are listed 'Best First'.
Re: Re: Debugger Tutorials
by HamNRye (Monk) on Jun 13, 2001 at 21:50 UTC

    This is not a problem with programs compiling, I just want to know how to debug a program without seeding it with print statements. I'm assuming this is the point of a debugger.

    I have been writing Perl for 5 years now, but I have always debugged with the old print "Count is" $count ; and the like. As my projects get more and more complex, this becomes more and more tiresome.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://88128]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2021-04-22 23:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found