Assuming you structure your program well and test properly at each stage,...

...and assuming that you wrote the !*#$$^!! code in the first place.

It's the stupid programmers who need advanced debugging tools,

I don't mind when people say "I never use the debugger...I just use print statements", that's fine if you never get into the situation where a debugger would tell you what you need to know without adding a single print statement, in fact, I just add print statements most of the time. But to call programmers stupid for using a debugger, is, well, stupid. At a previous job in a non-perl environment, I found it was the stupid programmers who didn't know how to use a debugger and spent days looking for a problem that I tracked down in a couple of hours with a debugger. When I was playing with AI::Prolog, I'd see code like $object->$method, and the easiest way to trace it was to fire up ptkdb and just step through that line of code. If you have the luxury of only ever working on your own code, then good for you, but don't go insulting those of us who don't.


In reply to Re^2: I never use the debugger. by runrig
in thread I never use the debugger. by friedo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.