Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

perl -d startproblem 1

Status
Not open for further replies.

zifko

Technical User
Oct 9, 2002
10
0
0
Hi!

I cannot start the perl debugger.

perl -d test.pl
Default die handler restored.
Could not create socket to connect to remote host. at D:/Perl/lib/perl5db.pl lin
e 429.
Compilation failed in require.
BEGIN failed--compilation aborted.


My OS is WinNT4.0 and here a snapshot from the system:
Locally applied patches:
ActivePerl Build 623
Built under MSWin32
Compiled at Dec 15 2000 16:27:07
%ENV:
PERLDB_OPTS="RemotePort=127.0.0.1:2000"
@INC:
D:/Perl/lib
D:/Perl/site/lib
.
 
Annoying...

My first instinct would be to re-install (latest version of) Perl; have you done that?

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Yes, i tried newer versions of perl, but there is always
the same failure.
 
Ok...

Do you have another machine with a more recent version of Windows you could try the same thing on?

Does every script you try and debug fail or just this one?

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
I have now installed perl version 629.
This version runs on a another machine very well.
Debugging is also ok with the same scripts.

The problem is locally on my machine.
Every script makes the same failure.

I see no entry 127.0.0.1:2000 with netstat -n.
Maybe is here the problem?
 
Sounds like it -- bit disappointing if NT4 is already unsuported by bits of Perl 5...

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
The solution of the startproblem is to remove the variable
PERLDB_OPTS="RemotePort=127.0.0.1:2000".

I removed the variable with the regedit.

The perl debugger works now very well.
 
How cool is that? :) And thanks for posting it zifko.

Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top