robhuffstedtler has asked for the wisdom of the Perl Monks concerning the following question:
Here are the values for my perl5lib and perldb_opts environment variables:
PERL5LIB="C:\test" PERLDB_OPTS="RemotePort=itd6m6tw11:3000 PrintRet=0"
I have placed a copy of ActiveState's version of perl5db.pl in C:\test.
When I run perl -d soaptest.pl, it gives a warning near the top that the option is unrecognized:
Invalid option `"RemotePort=itd6m6tw11:3000 PrintRet=0"'
This makes me think it's still loading the default version of perl5db.pl, so I tried forcing it to load the new version, e.g.
set PERL5DB="BEGIN { require 'C:\test\perl5db.pl' }"
Then if I try to debug soaptest.pl, I get this:
C:\test>perl -d soaptest.pl No DB::DB routine defined at soaptest.pl line 5.
Have I missed something obvious, or is Activestate's documentation a bit weak on this point?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remote debugging problem
by osunderdog (Deacon) on Jan 10, 2005 at 21:55 UTC | |
by robhuffstedtler (Initiate) on Jan 11, 2005 at 16:00 UTC | |
by osunderdog (Deacon) on Jan 11, 2005 at 16:13 UTC | |
by robhuffstedtler (Initiate) on Jan 11, 2005 at 16:42 UTC | |
by osunderdog (Deacon) on Jan 11, 2005 at 16:47 UTC |