in reply to Re^2: How edit source code in perl debug mode
in thread How edit source code in perl debug mode

My question is perl debugger is powerful but why many monks choose print for debug

As for why many famous programmers strive to minimize time spent in crack-pipe debugging sessions see : on Debuggers References

👁️🍾👍🦟
  • Comment on Re^3: How edit source code in perl debug mode

Replies are listed 'Best First'.
Re^4: How edit source code in perl debug mode
by LanX (Saint) on May 05, 2024 at 10:27 UTC
    You'd be surprised how many people are introduced to learning Perl with an IDE doing a visual debugger run before the actual run.

    Once introduced they stick with this habit of having the current line highlighted in their code.

    My ex employer was more than unhappy that he couldn't run his web application inside the debugger, and I somehow never told him how to do this ;)

    I also think that the introduction of lexical variables changed a lot. Before that action at a distance with global variables created a need for debugger runs with watch expressions.

    Edit

    But as always, it's not black and white, there are legitimate cases for debugger use.

    This DON'T and NEVER rules often lead to dogmatic stupidity.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery