in reply to Trying to track a sleeping CGI request with gdb
Not knowing gdb, that should surely be
gdb /usr/bin/perl /path/to/cgi-bin/script.cgi 1234
Remember, perl is the executable. The script name and arguments for the script are arguments to perl.
( I thought 1234 was for the perl script, not for gdb, so I extrapolated incorrectly. )
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Trying to track a sleeping CGI request with gdb
by Chady (Priest) on Oct 10, 2006 at 20:22 UTC | |
by nagakiran (Initiate) on Apr 20, 2010 at 19:53 UTC |
In Section
Seekers of Perl Wisdom