Menu

#442 Perl debugger doesn't start up

open
Debugger (177)
5
2007-09-19
2007-09-19
Anonymous
No

Carbide 1.2.2.5
Epic 0.6.13
>perl -version
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)

Description:
I am able to run perl programs just fine but debug fails with the following:

Bareword found where operator expected at D:/code/Carbide/.metadata/.plugins/org.epic.debug/epic_breakpoints.pm line 49, near "$DB::OUT _abs_path"
(Missing operator before _abs_path?)
Cannot chdir to D:/code/Carbide/testiprojekti/notestesti.pl:No such file or directory at D:/code/Carbide/.metadata/.plugins/org.epic.debug/epic_breakpoints.pm line 76
Compilation failed in require at D:/code/Carbide/.metadata/.plugins/org.epic.debug/perl5db.pl line 1576.
BEGIN failed--compilation aborted at D:/code/Carbide/.metadata/.plugins/org.epic.debug/perl5db.pl line 1576.
Compilation failed in require.
BEGIN failed--compilation aborted.

-Olli

strom@iki.fi

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hei,

    Just as a note that I am able to run perl debug from commandline eg:

    D:\code\Carbide\testiprojekti>perl -d testi.pl
    Default die handler restored.

    Loading DB routines from perl5db.pl version 1.07
    Editor support available.

    Enter h or `h h' for help, or `perldoc perldebug' for more help.

    main::(testi.pl:2): $string = "moro";
    DB<1>

    -Olli

     
  • Achim Bursian

    Achim Bursian - 2007-10-28

    Logged In: YES
    user_id=466564
    Originator: NO

    I had the same problem, but after upgrading to the latest ActivePerl all went well. Maybe your Perl version is too old?

     

Log in to post a comment.