Unable to debug perl 5.8.0 program
Andrew DeFaria
ADeFaria@Salira.com
Thu Sep 4 20:55:00 GMT 2003
Recently I started receiving the following error when trying to user
perl -d. It only seems to happen with some perl scripts and not other,
more simple perl scripts:
$ perl -d CheckinPreop.pl
Loading DB routines from perl5db.pl version 1.19
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(CheckinPreop.pl:42): my $site;
Unable to get Terminal Size. The TIOCGWINSZ ioctl didn't work. The
COLUMNS and LINES environment variables didn't work. The resize program
didn't work. at
/usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int/Term/ReadKey.pm line 343.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.0/Term/ReadLine/Perl.pm line 58.
Term::ReadLine::Perl::new('Term::ReadLine','perldb','GLOB(0x10164648)','GLOB(0x1014a8e8)')
called at /usr/lib/perl5/5.8.0/perl5db.pl line 2225
DB::setterm called at /usr/lib/perl5/5.8.0/perl5db.pl line 773
DB::DB called at CheckinPreop.pl line 42
cqc::CODE(0x10279bdc)(//sons-clearcase/Views/official/Tools/lib/cqc.pm:101):
101: Disconnect;
DB<1> q
$ echo -e "Lines: $LINES\nColumns: $COLUMNS"
Lines: 24
Columns: 80
This happens in an rxvt window as well as a Windows console window.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030904/049e33ad/attachment.ksh>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list