Some of the best debugging techniques are those that help us debug our own thinking.

One of my favorites is a simple variant on the standard dictum that you don't really understand a problem unless you've thought of at least three ways to solve it.

Before debugging an anomaly in a black box, think of at least three logical explanations for the behavior you're seeing.
The simple act of pausing to think this through can open up one's mind to possibilities that might otherwise be missed in a focused hunt for one particular cause. With multiple explanations in hand, we're in a better position to prepare debugging strategies. The second or third potential cause we think of might suggest a simple debugging approach that can save hours when compared to our initial impulse.

Another beauty of this technique is that it works on people.

People as black boxes? Sure, why not? We can't see others' inner processes, we can only observe some of the input, and some of the output.

The next time you get into an anomalous interaction with another person, before you react according to your first instinct, try this

Assume that what they're saying is true from their experience and perspective. Think of at least three things that might be true to them that would explain what you're observing.
When we pause to ask this question, in reality we're debugging your own thinking and biases.

Try this the next time you get into an interaction that confuses you, and see if you don't discover new options. For (safe) practice, try it the next time you run into a weird SoPW post.


In reply to On Debugging People by dws

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.