Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Greetings and Salutations!

I'm revving up to become a Perl Debugger ninja -- as in, a master of all things pertaining to the Perl Debugger.

This is a journey, I know. I have strong suspicions that there is much to be gained by mastering the use of this powerful tool. I've programmed _extensively_ in Perl for over a decade now, and my coding practices just have never included the debugger. I was never trained from the beginning in its arts or usefulness. I code and execute under strict, with warnings, and sometimes taint; I've relied "best practices", "documentation", and on warning/fatal exemption messages to guide me when I've had problems...

But now I think it's time to take it to the next level and identify the unseen problems, such as inefficiency and poor logic that aren't exposed by warnings or strict or taint! This also goes hand in hand with my simultaneous interest in code profiling (starting with NYTprof).

And so I seek your wisdom and advice. On my own I've amassed sundry documentation and examples from various sources on the internet-- the fruit of several searches. Now as I embark on this journey to enlightenment I humbly request of you: your own tips, tricks, links, references, and favorite places to go learn about the debugger. Flame away if you must, but I feel after my own due diligence that requesting the collective knowledge of those more versed in the pdb here at PM will produce yet more and possibly greater knowledge than what I've already found.

Am I "going overboard" with this pursuit? Is there really "not that much to know" about advanced debugging (and the next topic of interest- profiling)? I am pretty sure that such is not the case.

Thank you, my Perl bretheren and sisters for your guidance. <heartfelt digression>Thank you also, Perl, for the awesomeness that you've brought to both my career and my life. I love you, man!</digression>


In reply to In the art of Perl Debugger Mastery, I seek enlightenment by Tommy

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (8)
    As of 2019-06-20 19:19 GMT
    Find Nodes?
      Voting Booth?
      Is there a future for codeless software?

      Results (91 votes). Check out past polls.