Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

EPIC Debugger not stopping at breakpoint

by adambe (Initiate)
on Mar 17, 2010 at 23:41 UTC ( #829293=perlquestion: print w/ replies, xml ) Need Help??
adambe has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

The Perl debugger in EPIC (Eclipse Perl Integration) is not stopping at a breakpoint that I set.
I tried checking / un-checking Window -> Preferences -> 'Suspend debugger at first statement' but to no avail.

Has anyone got this working?

Thanks!
Adam.

P.S, I tried Padre but unfortunately the debugger didn't work at all last time I checked.

Using Eclipse Classic 3.5.2 (Build id: M20100211-1343)
EPIC 0.6.35
Strawberry Perl v5.10.1
Windows XP SP3.

Comment on EPIC Debugger not stopping at breakpoint
Re: EPIC Debugger not stopping at breakpoint
by dHarry (Abbot) on Mar 18, 2010 at 09:52 UTC

    That's odd it works for me. Well I hardly ever use it but it stops at breakpoints.

    I set a breakpoint and after a right-mouse click I choose from the pop-up menu "Debug as -> 1. Perl local". I get an error/warning because I haven't installed Padwalker (necessary to display local variables). Next I step through the code with the debugger until I choose "Step return". The debugger halts the script at the breakpoint. I did not configure anything to use the debugger.

    I use the standard Perl on my Mac. I have also used Eclipse & EPIC under Linux Redhat and on Windows (several flavours). Debugging always worked as far as I remember.

    Well, you can always resort to Perl -d;)

    Cheers,

    Harry

      My debugger also fails with a message:
      Use of uninitialized value in subroutine dereference at (null) line 1. perl5db.pl did not return a true value. BEGIN failed--compilation aborted.
      Maybe i missed to install some modules. System is indows XP SP3 with Strawberry Perl 5.10 and EPIC 0.6.35 Update: after including perl/lib directory to project path like described on http://sourceforge.net/tracker/index.php?func=detail&aid=2907155&group_id=75859&atid=545274 the debugger works fine and stops on breakpoints.
      ... Including the path to the perl5db.pl file (Perl\lib directory) to the +Perl Include Path to my project (Project->Properties->Perl Include Path) wo +rks for me.
        I finally got the debugger to stop at breakpoints:
        1. Project -> Properties -> Perl Include Path
        2. Make sure to add the following directory BEFORE c:\strawberry\perl\lib
        c:\ECLIPSE_WORKSPACE\PROJECT_NAME\.metadata\.plugins\org.epic.debug

        Change c:\ECLIPSE_WORKSPACE\PROJECT_NAME accordingly to match your configuration.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://829293]
Approved by Marshall
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-09-16 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls