Hmm, you seem to know more about the subject than I do, or perhaps I did not really understand your question. In addition, I do not know if what I'm going to say is useful or relevant. But I would still submit that, in my opinion, debugging and testing are two distinct activities, aimed at different purposes. Testing is aimed at checking that the result of your program is correct, while debugging is aimed at understanding why the result is not what you expect.

Having said that, I am doing quite often something completely different. Very often, the first thing I am doing with a new (or modified) program is to run it under the debugger, in order to verify that variables are populated with what I expect, that the data structure has the right format, that the program is folloging the expected path, etc. But that's just a short cut th get quicker to the result.

But the crux of the matter is still that testing and debugging are two very different activities.

In the end,

Je suis Charlie. I am Charlie.

In reply to Re: graphical debugger, in a unit-test environment? by Laurent_R
in thread graphical debugger, in a unit-test environment? by jae_63

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.