Oddly enough, I see a parallel to morality problems here. In college, philosophy professors would pose a problem like the following:

Your plane crashes in the jungle. Everyone lives, but is captured by rebels. The leader of the rebels asks you to kill one of the passengers. If you don't, he will kill them all. The question: do you kill someone? If so, how do you select the person?

I realized that all moral dilemmas that he came up with always stemmed from a previous immoral action over which you have no control. In the case of the problem above, the previous immoral action is the rebel leader deciding that some or all survivors will be murdered.

Though the parallel is tenuous, it's there.

In debugging, we are attempting to apply logic to a previous breakdown in our logic. It's the poor choices of ourselves or others that lead us down the path of debugging. Is there a universal logical approach to resolving breakdowns in logic, or is it more of an art?

I debug well, but I don't always succeed. Your comment "hackers gain insite into life by how they debug" is very applicable to me. Oftimes, when faced with my breakdowns in logic, I am tempted to just run to others for help (hence, some of my posts to Perl Monks). Sometimes, I just want an answer, rather than figure out what's going on. Hmmm... now I'm seeing parallels to religion. I'll stop now before this becomes a full-fledged rant.


In reply to RE: Debugging by Ovid
in thread Debugging by Crulx

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.