<?xml version="1.0" encoding="windows-1252"?>
<node id="30102" title="RE: debugging" created="2000-08-29 11:13:51" updated="2005-07-21 01:17:38">
<type id="11">
note</type>
<author id="9073">
merlyn</author>
<data>
<field name="doctext">
I don't use the debugger to "debug" my code either: I come from the old school, where you just
add &lt;tt&gt;print&lt;/tt&gt; until it works. {grin}  And since that's pretty painful, I usually
just do incremental development, adding one little piece at a time, and running
the code each time, so that I can tell where it broke when I broke something.
&lt;p&gt;
I &lt;i&gt;do&lt;/i&gt; use the debugger frequently as an interactive Perl:
&lt;code&gt;
$ perl -deal
&lt;/code&gt;
because the ability to type &lt;tt&gt;x arbitrary expression&lt;/tt&gt; is pretty cool
for testing out snippets.

&lt;p&gt;-- &lt;a href="http://www.stonehenge.com/merlyn/"&gt;Randal L. Schwartz, Perl hacker&lt;/a&gt;&lt;/p&gt;</field>
<field name="root_node">
30091</field>
<field name="parent_node">
30091</field>
</data>
</node>
