From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KQ4Dr-000496-R1 for garchives@archives.gentoo.org; Mon, 04 Aug 2008 17:51:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59546E047C; Mon, 4 Aug 2008 17:51:53 +0000 (UTC) Received: from crowfix.com (crowfix.com [216.240.38.154]) by pigeon.gentoo.org (Postfix) with ESMTP id 27C65E047C for ; Mon, 4 Aug 2008 17:51:49 +0000 (UTC) Received: (qmail 25189 invoked by uid 1000); 4 Aug 2008 17:51:46 -0000 Date: Mon, 4 Aug 2008 10:51:46 -0700 From: felix@crowfix.com To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Perl server-side debug Message-ID: <20080804175146.GA24299@crowfix.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 3ac1d19c-0891-41f2-8e87-719dde6b2b46 X-Archives-Hash: c815937646652cb7e4953667829235de I have a non-gentoo question here, but my problems are probably partly flavored by using gentoo at home and something else at work. Here is a page on debugging perl server-side code under Apache: http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging It has two steps: starting apache with -X (run on the console in the foreground, don't fork or start any children, handle incoming requests directly one at a time) and adding configuration to use Apache::DB. My problem is that I am trying to do this on a server not entirely under my comlete control; it writes a configuration file from a template which I can change, but a lot of internal logic deals with Mason, and I can't just go changing everything to make this work. I can start my own server, that is not the problem, it's that I must keep its original behavior intact, including using Mason. One of the puzzles is that the web page in question apparently is using a pretty old version of perl5db.pl, 1.0402, which has different perldb commands than I am used to: 'w' for a "window" of source listing, where I am used to 'l' for "list". Both my home gentoo system and this foreign system I am using are 1.28. Or perhaps this web page is written for Windows users of some sort, and Windows perl has differences from the real version :-) Does anyone have any experience with this server-side debugging process? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o