Eclipse:在单步执行perl代码时获得IO异常

时间:2017-09-23 02:01:11

标签: eclipse perl

我想在Eclipse中调试perl程序,但每次打开调试器,然后按下翻转按钮(或者步骤按钮),我会看到一个对话框说& #34; PerlDebugJob遇到了问题"。然后给出以下内容:

An IOException occurred while executing debugger command
could not match re.IP_POS in {recv() is deprecated on :utf8 handles. This will be a fatal error in Perl 5.30 at C:/Strawberry/perl/lib/IO/Socket.pm line 304.
 at C:/Strawberry/perl/lib/IO/Socket.pm line 304.
    IO::Socket::recv(IO::Socket::INET=GLOB(0x33d6238), "", 2048) called at C:/Users/John/workspace/.metadata/.plugins/org.epic.debug/perl5db.pl line 7358
    DB::readline("  DB<16> ") called at C:/Users/John/workspace/.metadata/.plugins/org.epic.debug/perl5db.pl line 1858
    DB::_DB__read_next_cmd(undef) called at C:/Users/John/workspace/.metadata/.plugins/org.epic.debug/perl5db.pl line 2786
    DB::DB called at F:/Shared/John/Java/unifdef+.0.2.1/test.pl line 4
main::(F:/Shared/John/Java/unifdef+.0.2.1/test.pl:4):
4:  my $rundir = "script\/";}

我正在运行Eclipse Neon.3,我刚刚在DOS提示符下通过cpan padwalker命令安装了Padwalker。我的perl是5.26.0。还有什么我必须做的吗? (我尝试了更新版本的Eclipse,结果相同)。

我尝试调试的程序的前几行是:

use File::Compare;
my $result;
my $rundir = "script\/";

0 个答案:

没有答案