This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined subroutine in perl debugger only on letter [t]


On Tue, 27 Feb 2007, Kelvin wrote:

> Using perl v5.8.7-5 under Cygwin 1.5.24:
>
> I'm trying to use the perl debugger and it terminates whenever I want to
> use the letter 't'.  It's the strangest thing.  When I press 't'
> (without <cr> and only lowercase) I get:
>
> --------------
>        Undefined subroutine readline::F_MenuComplete at
> /usr/lib/perl5/vendor_perl/5.8/Term/ReadLine/readline.pm line 1843 at
> /usr/lib/perl5/5.8/SelfLoader.pm line 34
>        SelfLoader::AUTOLOAD(1, 116) called at
> /usr/lib/perl5/vendor_perl/5.8/Term/ReadLine/readline.pm line 1843
>        readline::do_command('*readline::emacs_keymap', 1, 116) called at
> /usr/lib/perl5/vendor_perl/5.8/Term/ReadLine/readline.pm line 1481
>        readline::readline('  DB<2> ') called at
> /usr/lib/perl5/vendor_perl/5.8/Term/ReadLine/Perl.pm line 11
>        Term::ReadLine::Perl::readline('Term::ReadLine::Perl=ARRAY(0x102a75ac)',
> '  DB<2>') called at /usr/lib/perl5/5.8/perl5db.pl line 6367
>        DB::readline('  DB<2> ') called at /usr/lib/perl5/5.8/perl5db.pl line
> 2203
>        DB::DB called at test1.pl line 3
> Debugged program terminated.  Use q to quit or R to restart
> --------------
>
> All other letters work on the debugger command line, but as soon as I
> press 't' (anywhere on the line), the debugger instantly fails with the
> above output.  So, it won't let me toggle trace or output variables that
> have a 't' in the name. I tried reinstalling and installing previous
> perl version (v5.8.6-4); no luck.
>
> I haven't seen any mention of this as a common problem in the forums and
> mailing lists.  So, I would suspect there is something screwy with my
> installation or I'm missing something embarrassingly obvious.
>
> I'm debugging my code in Linux for the meantime (working around
> references to win32 api).  I would greatly appreciate any assist!

Check the bindings in your ~/.inputrc...
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]