Windows下为Eclipse安装PadWalker(为无法运行PPM的准备)

安装PadWalker之前必须先安装ActivePerl,下载地址为:ActivePerl Downloads

 

只有安装了padwalker,Eclipse才能调试Perl。

 

下面介绍padwalker的安装步骤:

1. padwalker下载地址: http://www.bribes.org/perl/ppm/
2. 解压下载的文件

4. 拷贝 blib/lib/PadWalker.pm 到 Perl/lib(你的安装路径)
5. 拷贝 blib/arch/auto/PadWalker 到 Perl/lib/auto
6. 测试

新建一个*.pl文件,写入以下内容

    my $input = <STDIN>; #input from user
    print $input;

 

然后在print $input;处设置断点,右击debug as -> perl 即可测试。

 

下面为原文:

1. Download http://www.bribes.org/perl/ppm/PadWalker-1.6-PPM510.tar.gz
2. Extract the downloaded file to "D:/Download/padwalkerWin/"
    You can replace the "D:/Download/padwalkerWin" as your folder
3. After extract you will see following folders
    D:/Download/padwalkerWin/blib

4. Copy D:/Download/padwalkerWin/blib/lib/PadWalker.PM to F:/Perl/lib
    "F:/Perl" is my perl install folder. you should use your own setting.

5. Copy D:/Download/padwalkerWin/blib/arch/auto/PadWalker
    to F:/Perl/lib/auto

6. Test your perl in eclipse.
#Test.pl
my $input = <STDIN>; #input from user
print $input;

set break point at "print $input;"

You should see the input value for $input in variables panel.

Above step is tested for EasyEclipse 1.3 + ActivePerl-5.10.0.1002.

你可能感兴趣的:(eclipse,windows,perl,input,download,variables)