Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I installed Active Perl v5.8.0 build 806 for Windows and I can't seem to run the debugger. It looks like the debugger has a bug. I must be missing something. I can run my program w/o the dubuger with no problem. See the output below. Can someone help me out? Thanks in advance!
C:\Scripts>perl -v This is perl, v5.8.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Binary build 806 provided by ActiveState Corp. http://www.ActiveState. +com Built 00:45:44 Mar 31 2003 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using `man perl' or `perldoc perl'. If you have access to + the Internet, point your browser at http://www.perl.com/, the Perl Home Pa +ge. C:\Scripts>type count.pl $string = 'U|Table|col1|col2|col3|last|'; $count++ while $string =~ /\|/g; print "Count: ($count)\n"; C:\Scripts>perl count.pl Count: (6) C:\Scripts>perl -d count.pl Unable to connect to remote host: 127.0.0.1:2000 Compilation failed in require. main::BEGIN() called at C:/Perl/lib/perl5db.pl line 0 eval {...} called at C:/Perl/lib/perl5db.pl line 0 BEGIN failed--compilation aborted. C:\TwScripts>

20030716 Edit by Corion: Changed formatting to code tags

Replies are listed 'Best First'.
Re: debugger bug?
by edan (Curate) on Jul 16, 2003 at 14:29 UTC
      Yup, that fixed things up for me. Thanks a bunch! I installed the Active State Development Kit from my companies network file server and when I found out it was only a free trial version I unistalled it. It left the perldb_opts envorement variable set. When I removed it the debuger worked! Thanks again!

      This is what helped me out.
      Re: Re: Debugger failing to connect to localhost

      20030716 Edit by Corion: Fixed link