X-Spam-Check-By: sourceware.org Date: Tue, 27 Feb 2007 17:05:25 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Kelvin cc: cygwin AT cygwin DOT com Subject: Re: Undefined subroutine in perl debugger only on letter [t] In-Reply-To: <45E4A708.302@allandrews.org> Message-ID: References: <45E4A708 DOT 302 AT allandrews DOT org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/