problem when use debug perl in win2000 os

B

Bob Heye

Hi,all
I have such a problem, someone can help me?

When I debug a program written in perl using "perl -d foo.pl"
The following message show up:
================================
Unable to connect to remote host: 127.0.0.1:2000
Compilation failed in require.
main::BEGIN() called at D:/Perl/5.8.0/lib/perl5db.pl line 0
eval {...} called at D:/Perl/5.8.0/lib/perl5db.pl line 0
BEGIN failed--compilation aborted.
================================
My OS is win2000, and the perl version is 5.8.0.
If I don't debug it, just run it ( perl foo.pl), everything is fine.

Any comments will be appreciated.
Regrads

BobH
 
B

Brian Helterline

Bob Heye said:
Hi,all
I have such a problem, someone can help me?

When I debug a program written in perl using "perl -d foo.pl"
The following message show up:
================================
Unable to connect to remote host: 127.0.0.1:2000
Compilation failed in require.
main::BEGIN() called at D:/Perl/5.8.0/lib/perl5db.pl line 0
eval {...} called at D:/Perl/5.8.0/lib/perl5db.pl line 0
BEGIN failed--compilation aborted.
================================
My OS is win2000, and the perl version is 5.8.0.
If I don't debug it, just run it ( perl foo.pl), everything is fine.

Any comments will be appreciated.
Regrads

BobH
Make sure that you don't have the PERLDB_OPTS environment variable
configured to use remote debugging.

This same problem bit me also. If I remember correctly it was after I
installed a trial version of Visual Perl (or ASPEN perl) and then removed
it. This variable was left behind....

-brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top