By the way, I followed that perl5db.pl link and was both in awe of it, and frankly a little repulsed by it.

There is way more stuff in perl5db when I first learned it decades ago. I think there is possibly more stuff in there than when I last looked at an apress book devoted to perl5db about a decade ago.

However I find it a mish-mash of details, many that don't make sense to me. So much so that I find myself getting lost. Is it just me?

The document starts out with an explanation or apology under "General Notes" of why the thing is so ugly — probably not the best way to lead off for most poeple who are looking for information. This is followed by coding tricks used that I doubt most people should be using normally, even if they are interested in such stuff. And if they are, they probably know this already.

Somewhere among this, are features and capabilities I really didn't know much about like debugger startup, its options, what can go in the debugger initalization file, terminal and socket handling, and how to influence what happens on restart.

Then finally after all of this other stuff, first mention of the actual commands that can be used, followed by, or rather intermixed with, API information.

I think it both amusing and fitting that the thing ends with a POD error in red.

I would offer to reorganize or rewrite it, if I weren't of the frame of mind that one should really move away from the debugger altogether.

If you don't like Devel::Trepan, then please consider Devel::Hdb. Too many people have died trying to fix up perl5db.


In reply to perl5db.pl (Was Re^3: How to get line ranges of subroutines from Perl source code) by rockyb
in thread How to get line ranges of subroutines from Perl source code by rockyb

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.