Since upgrading to Mac OS X Yosemite (perl 5.18), the perl debugger crashes when I try to use the tab completion on variable names. To test, run perl -d -e '42', and then at the debug prompt type x @A followed by a TAB character. The debug session will die with below error. Any idea what going on? This used to work fine on Mavericks (perl 5.16).

$ perl -d -e '42' Loading DB routines from perl5db.pl version 1.39_10 Editor support available. Enter h or 'h h' for help, or 'man perldebug' for more help. main::(-e:1): 42 DB<1> x @ACan't use string ("::") as a HASH ref while "strict refs" +in use at /System/Library/Perl/5.18/perl5db.pl line 9513. at /System/Library/Perl/5.18/perl5db.pl line 9513. DB::db_complete('@A', 'x @A', 2) called at sub readline::completio +n_matches line 10 readline::completion_matches('CODE(0x7fcfa1bb1988)', '@A', 'x @A', + 2) called at sub readline::complete_internal line 27 readline::complete_internal('\x{9}') called at sub readline::F_Com +plete line 16 readline::F_Complete(1, 9) called at /Library/Perl/5.18/Term/ReadL +ine/readline.pm line 1669 readline::readline(' DB<1> ') called at /Library/Perl/5.18/Term/R +eadLine/Perl.pm line 11 Term::ReadLine::Perl::readline('Term::ReadLine::Perl=ARRAY(0x7fcfa +182c4b8)', ' DB<1> ') called at /System/Library/Perl/5.18/perl5db.pl + line 7281 DB::readline(' DB<1> ') called at /System/Library/Perl/5.18/perl5 +db.pl line 1831 DB::_DB__read_next_cmd(undef) called at /System/Library/Perl/5.18/ +perl5db.pl line 2741 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.

In reply to Perl debugger variable completion crashing debugger by HayoBaan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.