develooper Front page | perl.perl5.porters | Postings from July 2012

Re: [perl #114284] Bleadperl v5.17.0-559-g6b24a4b breaks tab completionin debugger

Thread Previous | Thread Next
From:
Vincent Pit
Date:
July 27, 2012 05:31
Subject:
Re: [perl #114284] Bleadperl v5.17.0-559-g6b24a4b breaks tab completionin debugger
Message ID:
50128A1B.8020803@profvince.com
On 27/07/2012 11:57, (Andreas J. Koenig) (via RT) wrote:
> # New Ticket Created by  (Andreas J. Koenig)
> # Please include the string:  [perl #114284]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114284 >
>
>
> Git bisect
> ----------
> commit 6b24a4b7056729824cf186ceb257f04de3de3208
> Author: Shlomi Fish <shlomif@shlomifish.org>
> Date:   Mon Jun 18 00:05:28 2012 +0300
>
>      add use strict to perl -d
>
> Description
> -----------
> Bug requires Term::ReadLine::Perl or equivalent installed. In the
> following the string "<TAB>" denotes the pressing of the TAB key.
>
> Up to v5.17.0-558-g7e28696 TAB-completion of global variables worked.
> Entering something like C<< x $DB::<TAB> >> produced a list of all
> scalars available. This stopped working in v5.17.0-559-g6b24a4b. It is
> still broken in v5.17.2-81-g613c63b.
>
> % perl -de0
>
> Loading DB routines from perl5db.pl version 1.39
> Editor support available.
>
> Enter h or 'h h' for help, or 'man perldebug' for more help.
>
> main::(-e:1):   0
>   DB<1> x $DB::<TAB>Can't use string ("package") as a SCALAR ref while "strict refs" in use at /home/src/perl/repoperls/installed-perls/perl/v5.17.0-559-g6b24a4b/a2da/lib/5.17.0/perl5db.pl line 8496.
>   at /home/src/perl/repoperls/installed-perls/perl/v5.17.0-559-g6b24a4b/a2da/lib/5.17.0/perl5db.pl line 8496.
>          DB::db_complete('$DB::', 'x $DB::', 2) called at sub readline::completion_matches line 10
>          readline::completion_matches('CODE(0x20a8a30)', '$DB::', 'x $DB::', 2) called at sub readline::complete_internal line 27
>          readline::complete_internal('\x{9}') called at sub readline::F_Complete line 16
>          readline::F_Complete(1, 9) called at /home/src/perl/repoperls/installed-perls/perl/v5.17.0-559-g6b24a4b/a2da/lib/site_perl/5.17.0/Term/ReadLine/readline.pm line 1669
>          readline::readline('  DB<1> ') called at /home/src/perl/repoperls/installed-perls/perl/v5.17.0-559-g6b24a4b/a2da/lib/site_perl/5.17.0/Term/ReadLine/Perl.pm line 11
>          Term::ReadLine::Perl::readline('Term::ReadLine::Perl=ARRAY(0x1d4c218)', '  DB<1> ') called at /home/src/perl/repoperls/installed-perls/perl/v5.17.0-559-g6b24a4b/a2da/lib/5.17.0/perl5db.pl line 6569
>          DB::readline('  DB<1> ') called at /home/src/perl/repoperls/installed-perls/perl/v5.17.0-559-g6b24a4b/a2da/lib/5.17.0/perl5db.pl line 2121
>          DB::DB called at -e line 1
> Debugged program terminated.  Use q to quit or R to restart,
>    use o inhibit_exit to avoid stopping after program termination,
>    h q, h R or h o to get additional info.
>

This should have been fixed by commit 9df8bd1d (which is in 5.17.2).


Vincent

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About