Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report error when debugging perl scirpt which uses other module #35

Open
mj8311 opened this issue Sep 10, 2018 · 2 comments
Open

Report error when debugging perl scirpt which uses other module #35

mj8311 opened this issue Sep 10, 2018 · 2 comments

Comments

@mj8311
Copy link

mj8311 commented Sep 10, 2018

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

@hurricup
Copy link
Collaborator

What perl are you using?

@mj8311
Copy link
Author

mj8311 commented Sep 10, 2018

It is ActivePerl v5.10.1 built for MSWin32-x86-multi-thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants