Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Hacking Debugger bugs connected to $^D

by Tommy (Chaplain)
on Apr 24, 2013 at 18:53 UTC ( #1030486=note: print w/ replies, xml ) Need Help??


in reply to Hacking Debugger bugs connected to $^D

Okay Rolf. pdb repl?! You have just officially attained a new level of awesomeness! I can't help you with this problem but let me be the first to say, you are a-ma-zing. That is all.

Tommy
A mistake can be valuable or costly, depending on how faithfully you pursue correction


Comment on Re: Hacking Debugger bugs connected to $^D
Re^2: Hacking Debugger bugs connected to $^D
by LanX (Canon) on Apr 24, 2013 at 19:31 UTC

      I looked at the Perl debugger code some months ago with the idea that I could get ideas for a vague project of mine: I had the idea of possibly trying to use Perl and the Perl debugger to try to write a basic shell script debugger (at first, this did not seem completely crazy, I was able to use Perl to write a basic code profiler for another proprietary programming language), but I quickly gave up, it is just awful and way above and beyond my level of comprehension.

        > it is just awful and way above and beyond my level of comprehension.

        Yeah it takes time! I admit that I was very frustrated at the beginning.

        This code seems to have grown out of a Perl4 predecessor, the basic structure must have been designed 15-20 years ago. It depends on some obscure perlguts.

        Mostly package vars, very long routines, nested flows, many AND-for-IF constructs, a bag of completely unknown features, wild package structures ( dumpValue lives in main!!! WTF ?)

        At least someone took the effort to re-document it with nested PODs (which OTOH doesn't facilitate refactoring at all)

        But mastering it gives a very powerful tool. And it's a key tool, we need to keep it running.

        Cheers Rolf

        ( addicted to the Perl Programming Language)

        UPDATE

        still talking about v1.30, haven't looked in the newest on yet.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030486]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-09-20 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (155 votes), past polls