Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 22334 invoked from network); 10 Jan 2008 01:17:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 01:17:25 -0000 Received: (qmail 87102 invoked by uid 500); 10 Jan 2008 01:17:14 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 87077 invoked by uid 500); 10 Jan 2008 01:17:14 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 87068 invoked by uid 99); 10 Jan 2008 01:17:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2008 17:17:14 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.202.165.183] (HELO smtpauth03.prod.mesa1.secureserver.net) (64.202.165.183) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 10 Jan 2008 01:16:49 +0000 Received: (qmail 12972 invoked from network); 10 Jan 2008 01:16:49 -0000 Received: from unknown (67.162.45.134) by smtpauth03.prod.mesa1.secureserver.net (64.202.165.183) with ESMTP; 10 Jan 2008 01:16:49 -0000 Message-ID: <47857200.5010303@rowe-clan.net> Date: Wed, 09 Jan 2008 19:16:48 -0600 From: "William A. Rowe, Jr." User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: Debugging httpd References: <99E6B8D9-1AA1-454D-AC3C-98E937A37743@sun.com> In-Reply-To: <99E6B8D9-1AA1-454D-AC3C-98E937A37743@sun.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Tim Bray wrote: > Hi... I'm back to work on mod_atom and chasing a weird bug around. > Anyhow I totally can't figure out what some apr code is doing so I > wanted to step into it with the debugger. This sounds lame, but I can't > figure out how to build an httpd that has APR linked with debug > information. > > What are the approved incantations to make an httpd with some control > over the -O and -g options? It helps if you remember apr's CFLAGS are trusted by apr-util, httpd etc, but you need to re - ./configure after rebuilding apr to utilize this trick.