Problem debugging with "use switch"

Help
jrsade
2008-05-15
2013-05-20
  • jrsade
    jrsade
    2008-05-15

    When debugging a perl script the debugger gets confused after an initial sequence of commands. Then it points to comments and empty lines in the source code.
    I found out that the "use Switch" command causes this problem. When removing it, the problem disappears. I could not find any place in the program to put the statement in order to avoid the problem.
    In a separate standalone version of the program using the same sequence of "use" statements it works flawlessly.
    Any ideas?

     
    • Jan Ploski
      Jan Ploski
      2008-05-15

      Open a bug report, attach the code which confuses the debugger and steps to reproduce (are you using remote or local debugging?)

       
    • jrsade
      jrsade
      2008-05-16

      Well, I am using local debugging. However, the code is about 5000 lines. I try to reproduce it in a code fragment.