Perl debuging causes: An internal error occurred during: "PerlDebugJob"

109 Views Asked by At

I didn't know what I do wrong. When I debug my perl script, it was terminated. Place where scipr is terminated is completely normal return from the function:

sub new {

    my $self = shift;
    $self = {};
    bless $self;

    #instance of  "base" class Features.pm
    $self->{"base"} = Features->new();

    my @features = ();
    $self->{"features"} = \@features;

    return $self; # <== here is script terminated
}

Right before terminated it goes to Carp module to function longmess I put here only preview of my code, because it is huge project. Only to see how the ordinary code it is, where it fail.

When I "remove" the module, which leads to termanation, from project and run this module separately, it is OK. Thus error will be somewhere else.

enter image description here (this error happend in different places in code, but only in return command) I use perl 5.16, Eclipse and Epic and my project located in c:\Perl\site\lib\

Please help me. Thank you

EDIT

Problem occurs only when I run program in debug mode in eclipse. When I run it without debuging

0

There are 0 best solutions below