Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: How edit source code in perl debug mode

by LanX (Saint)
on May 04, 2024 at 11:26 UTC ( [id://11159268]=note: print w/replies, xml ) Need Help??


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

> many monks choose print for debug, after all,-d is a part of standard perl

I think I'm one of the main debugger experts here, and I hardly ever use it for debugging.

My own code is better debugged with tests and conditional warns.

Mainly because it's easily reproduced while interactive debugger sessions aren't. I prefer sustainable investments.

Occasionally I use debug or trace if I need to take over complex foreign code.

But mostly because of bad design, testing or documentation.

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

  • Comment on Re^3: How edit source code in perl debug mode

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2025-11-16 23:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (72 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.