in reply to Remote debugging problem
I have a couple of thoughts. The %INC hash contains all the packages (and required scripts) that are loaded and where they are loaded from. So you could dump %INC to find out where perldb5.pl is getting perl5db
PERLDB_OPTS="NonStop=1" perl -de "while(my(\$key, \$value) = each(%INC +)){print qq{\$key ==> \$value\n};}" perl5db.pl ==> /usr/lib/perl5/5.8.0/perl5db.pl
Also, rather than using an environment variable to tell perl where to look for the package, you could use the -I option:
(foo-lnx:Mon Jan 10 14:53:14):~/tmp $cp /usr/lib/perl5/5.8.0/perl5db.pl . (foo-lnx:Mon Jan 10 14:53:31):~/tmp $PERLDB_OPTS="NonStop=1" perl -I. -de "while(my(\$key, \$value) = each +(%INC)){print qq{\$key ==> \$value\n};}" perl5db.pl ==> perl5db.pl
Hope that helps!
Sorry, can't help with the RemotePort portion as I don't use Active State.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Remote debugging problem
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 |