Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Monitor file require/use

by khippy (Scribe)
on Jul 30, 2001 at 10:02 UTC ( [id://100828]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Monitor file require/use
in thread Monitor file require/use

What I am dreaming of ;-) is an omnipotent debuggertool.
As I only know perl -d so far, I can't imagine a convenient
way of debugging a cgi-script with multifunctions in depth.
So I would appreciate a tool telling me that the
script.pl is currently calling module.pm passing
variable with value to it
.
The problem is, that the script.pl is invoked by Apache by browserrequest, so how can you get into that???
--
there are no silly questions
killerhippy

Replies are listed 'Best First'.
Re: Re: Re: Re: Monitor file require/use
by bikeNomad (Priest) on Jul 30, 2001 at 15:34 UTC
    If you want to debug a CGI, look at Devel::ptkdb, which will open a Tk debugger for you. You can set breakpoints on specific lines as needed, possibly with conditions.

    Beyond that, note that "scripts" don't call modules. They require or use modules (which is what my debugger script catches); they call subroutines/methods that were defined by the modules.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://100828]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.