good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Invoke the perl debugger at runtimeby shmem (Chancellor) |
on Oct 01, 2024 at 14:39 UTC ( [id://11162031]=perlquestion: print w/replies, xml ) | Need Help?? |
shmem has asked for the wisdom of the Perl Monks concerning the following question: Is it possible to invoke the perl debugger at runtime? I'm currently working on Devel::Trace, writing a test suite for all the nifty changes. But 'make test' runs - of course - perl without the -d switch. Stating use Devel::Trace @args doesn't initialize the debugger. My workaround is...
but that is inelegant as feck. Does anybody of you monks know how to instantiate the debugger at or after compile time? Is it even possible? Or, as another possibility, shoehorn the -d flag into the test suite?
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
Back to
Seekers of Perl Wisdom
|
|