develooper Front page | perl.perl5.porters | Postings from February 2022

Pre-RFC: check if we're running under the debugger

Thread Next
Ovid via perl5-porters
February 23, 2022 12:54
Pre-RFC: check if we're running under the debugger
Message ID:
Hi all,

For those of us who use the debugger heavily, it's useful to know if we're running under the debugger. Unfortunately, the debugger doesn't natively export a way to do that. I've hacked on the debugger numerous times and I see that people do things like checking $DB::{single} or $INC{''}.

It would be nice to be able to do something like:


(A better name or approach is welcome)

This is a small itch to scratch, but it also seems very easy to scratch.

Thoughts? Or have I missed some documented, dead-trivial way of getting this information?

IT consulting, training, specializing in Perl, databases, and agile development 

Buy my book! -

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About