Report error when debugging perl scirpt which uses other module
mj8311 opened this issue · 2 comments
When I try to debug following simple perl script:
use strict;
use warnings;
use Data::Dumper;
my $a = undef;
if ($a == undef) {
print 'good';
}
my $b = '23';
print $b;
Pycharm shows error message:
Listening on localhost:11862...
C:\Perl\bin\perl.exe -d:Camelcadedb D:\a.pl
(1)Connecting to the IDE from process 17116 at localhost:11862...
Connected
Disconnected
Data/Dumper.pm did not return a true value at D:\a.pl line 3, line 1.
BEGIN failed--compilation aborted at D:\a.pl line 3, line 1.Process finished with exit code 255
If I remove line "use Data::Dumper;" from script. Debugger works.
My environment:
pycharm 2018.2.3(Build #PY-182.4323.49)
Perl5 plugin version: 2018.2.1
Devel::Camelcadedb version: 2017.100.3
JRE version: 1.8.0_152-release-1248-b8 amd64
Perl version: v5.10.1
OS: Win10 Version 1803
What perl are you using?
It is ActivePerl v5.10.1 built for MSWin32-x86-multi-thread