in reply to Re: The Case of the Missing .pm which isn't supposed to be there...
in thread The Case of the Missing .pm which isn't supposed to be there...

I have used the debugger very little... and the problem is partially that I am not running the script myself when it is having this problem... fcgi is starting it...

is there a way to track which eval I am in in the debugger? (or is just counting the eval statements as they go by good enough?)

                - Ant
                - Some of my best work - (1 2 3)

  • Comment on Re: Re: The Case of the Missing .pm which isn't supposed to be there...

Replies are listed 'Best First'.
Re: Re: Re: The Case of the Missing .pm which isn't supposed to be there...
by Flame (Deacon) on Jan 25, 2002 at 02:36 UTC
    As to tracking the eval, I'm not sure, but it might be helpful if you used Devel::ptkdb (Install Tk too). It provides a nice gui interface so you can see the code and track variables all at once. I find it much nicer and definately easier to use than the normal debugger.

    If worst comes to worst, could you post some of the relevant code so we can search ourselves?



    "Weird things happen, get used to it."

    Flame ~ Lead Programmer: GMS

Re: Re: Re: The Case of the Missing .pm which isn't supposed to be there...
by busunsl (Vicar) on Jan 25, 2002 at 12:50 UTC
    If you can use the Tk Debugger you can debug cgi scripts as well.

    toma has written a node on how to do this here.

(tye)Re: The Case of the Missing .pm which isn't supposed to be there...
by tye (Sage) on Jan 25, 2002 at 22:32 UTC

    Note that you don't need Tk nor X to debug: Debugging a CGI.

            - tye (but my friends call me "Tye")