hillside_dweller has asked for the wisdom of the Perl Monks concerning the following question:
I am using Perl 5.24 on Windows 7.
On trying out the debugger I find it has issues:
Loading DB routines from perl5db.pl version 1.49 Editor support available. Enter h or 'h h' for help, or 'perldoc perldebug' for more help. main::(consolidator.pl:20): my $test = 0; my $debug = 1; SetConsoleMode failed, LastError=|6| at C:/Strawberry/perl/vendor/lib/ +Term/ReadK ey.pm line 334. at C:/Strawberry/perl/vendor/lib/Term/ReadLine/readline.pm line 1581. readline::readline(" DB<1> ") called at C:/Strawberry/perl/ve +ndor/lib/T erm/ReadLine/Perl.pm line 11 Term::ReadLine::Perl::readline(Term::ReadLine::Perl=ARRAY(0x56 +a004), " DB<1> ") called at C:/Strawberry/perl/lib/perl5db.pl line 7339 DB::readline(" DB<1> ") called at C:/Strawberry/perl/lib/perl +5db.pl lin e 1841 DB::_DB__read_next_cmd(undef) called at C:/Strawberry/perl/lib +/perl5db.p l line 2761 DB::DB called at consolidator.pl line 20
I read a post from roho that seemed to have some similar problem and it mentioned TERM. That is not set on my system.
I have checked that Term::ReadLine is installed.
I'd rather not have to debug the debugger at the moment !
Any pointers to what to do would be much appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Debugger Problem (non-fatal)
by tye (Sage) on Dec 18, 2016 at 14:34 UTC | |
|
Re: Perl Debugger Problem
by Anonymous Monk on Dec 18, 2016 at 20:06 UTC | |
by hillside_dweller (Initiate) on Dec 19, 2016 at 09:09 UTC | |
|
Re: Perl Debugger Problem
by Laurent_R (Canon) on Dec 18, 2016 at 16:38 UTC | |
|
Re: Perl Debugger Problem (code tags)
by LanX (Saint) on Dec 18, 2016 at 14:21 UTC |