alexjn has asked for the wisdom of the Perl Monks concerning the following question:

I am using Eclipse as the IDE and I am facing problems while debugging. The problem is with setting break points.. I am providing the path to the main file which needs to be executed.. then the control flows to another file from the main file. A break point set in the secondary file is not recognised, however, a breakpoint set in the main file (for which I have provided the path to execute) is detected... Please help me out...
  • Comment on Problem in setting a breakpoint while debugging a perl script using eclipse

Replies are listed 'Best First'.
Re: Problem in setting a breakpoint while debugging a perl script using eclipse
by ikegami (Patriarch) on Jul 22, 2009 at 00:02 UTC
    In your project properties, did you set the Perl Include Path to point to your project's lib dir? I'm not sure if that helps.
Re: Problem in setting a breakpoint while debugging a perl script using eclipse
by Marshall (Canon) on Jul 22, 2009 at 00:53 UTC
    When debugging Perl, your very best friend is "print".

    It sounds like you have a problem where you are calling a subroutine from main and it doesn't work out. Can you list your code in a simple fashion? Some input, some code and some ouput?