debugger examine broken #16359
Something fairly recent as of v5.27.7-130-g4d7e83bba2 broke the "x" command in the debugger. From within t/ after a successful build:
$ ./perl -d -I../lib io/fs.t
Loading DB routines from perl5db.pl version 1.53
Enter h or 'h h' for help, or 'man perldebug' for more help.
$ ./perl -I../lib -V
Characteristics of this binary (from libperl):
On Fri, Jan 12, 2018 at 10:08 PM, Craig A.Berry
It's not actually that recent. I've reproduced it in v5.27.5.
The code in perl5db.pl that looks like this is failing:
# Load dumpvar.pl unless we've already got the sub we need from it.
The current working directory is t/<some temp directory> and @INC
I don't know why the debugger defers the loading of dumpvar.pl rather
One approach to fix this might be a self locator as was done for
However, that uses File::Spec, which perl5db.pl does not currently
On Sat, 13 Jan 2018 18:18:37 GMT, firstname.lastname@example.org wrote:
I encountered this myself several weeks ago, but wrote it off as my own clumsiness in using the debugger.
It's very old. I started to do git checkouts of tags and got as far back as this:
Loading DB routines from perl5db.pl version 1.34
Enter h or `h h' for help, or `man perldebug' for more help.