Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: Hacking Debugger bugs connected to $^D

by Laurent_R (Canon)
on Apr 24, 2013 at 21:34 UTC ( #1030541=note: print w/replies, xml ) Need Help??

in reply to Re^2: Hacking Debugger bugs connected to $^D
in thread Hacking Debugger bugs connected to $^D

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.

  • Comment on Re^3: Hacking Debugger bugs connected to $^D

Replies are listed 'Best First'.
Re^4: Hacking Debugger bugs connected to $^D
by LanX (Bishop) on Apr 24, 2013 at 21:59 UTC
    > 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)


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030541]
[james28909]: is reference the same as aliasing?
[shmem]: no
[shmem]: aliasing means "accessing the same thing by another name"
[james28909]: this makes sense to me. https://stackoverf 14224831/meaning- of-referencing-and -dereferencing
[james28909]: stack overflow
[james28909]: i think im going to ditch perl and learn C
[shmem]: for instance: for (@array) { $_ += 1 }; - here $_ inside the loop is an alias for the current element of @array
[james28909]: having to juggle between machines and perl versions and guis and compiling to a portable binary is slightly redundant when i could just use c or something
[shmem]: james28909: you'll prolly come back to perl when done :-P
[james28909]: but isnt that the same a referencing?

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2018-05-20 15:48 GMT
Find Nodes?
    Voting Booth?