eclipseperldebuggingepic

Why is E-P-I-C unable to detect PadWalker?


I have Eclipse (3.5-32) on my Unix machine. I have installed E-P-I-C updates for the stable 0.5.x and PadWalker (1.5).

Since I am a local user with no sudo rights I have installed PadWalker in a different folder. I have set this path as the environment variable PERL5LIB.

When I do echo $PERL5LIB or perl -le 'print foreach @INC', I can see the PadWalker module installed.

But when I try to debug using Eclipse, it says "Error: Install PadWalker".

For the time being, to get this working I have explicitly added this PadWalker to my project using the Properties option in Eclipse.

Is there a better way to do it so that I don't have to add Padwalker to my project every time?

Thanks.


Solution

  • My first guess is that you didn't set PERL5LIB in the process that spawns Eclipse, but in some other process. If so, what you see at the prompt using perl -le 'print foreach @INC' wouldn't reflect what EPIC's perl sees.

    I use a locally installed version of Perl, so I don't need special permissions or PERL5LIB. You can use perlbrew to do this. Then just tell EPIC to use a build of Perl you installed using perlbrew and for which you installed PadWalker.