Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 87759 invoked from network); 23 Nov 2007 20:44:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Nov 2007 20:44:50 -0000 Received: (qmail 80779 invoked by uid 500); 23 Nov 2007 20:44:34 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 80729 invoked by uid 500); 23 Nov 2007 20:44:34 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 80718 invoked by uid 99); 23 Nov 2007 20:44:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2007 12:44:34 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.202.165.95] (HELO smtpauth04.prod.mesa1.secureserver.net) (64.202.165.95) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 23 Nov 2007 20:44:37 +0000 Received: (qmail 24847 invoked from network); 23 Nov 2007 20:44:13 -0000 Received: from unknown (67.173.83.194) by smtpauth04.prod.mesa1.secureserver.net (64.202.165.95) with ESMTP; 23 Nov 2007 20:44:12 -0000 Message-ID: <47473B9B.6040306@rowe-clan.net> Date: Fri, 23 Nov 2007 14:44:11 -0600 From: "William A. Rowe, Jr." User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: Learning apr CC: dev@apr.apache.org Subject: Re: How can I debug libapr-1.dll, libaprutil-1.dll? References: <20071123103706.GA4169@redhat.com> <4746FE53.7030602@rowe-clan.net> <20071123163751.GA6833@redhat.com> <474705F2.1020301@rowe-clan.net> <20071123171645.GA7222@redhat.com> <47470C61.7020102@rowe-clan.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Learning apr wrote: > Hello, > > My own dlls depend on libapr-1.dll and libaprutil-1.dll. I doubt there is something wrong with those two dlls. How can I debug them? > I will use visual studio 2005. > > How can I integrate the source code from libapr-1.dll, libaprutil-1.dll to my source code? Three more steps (you have binaries, right?) unpack the -win32-src.zip file that corresponds to the exact version installed. (File - Properties of the .dll through windows explorer will give you version information). http://archive.apache.org/dist/apr/ contains these packages. Now you need the symbols (.pdb files) that were created by whomever rolled up your application. Those allow you to unwind a crash dump, set breakpoints, etc. For example, libapr-1.pdb should be placed in the same dir as libapr-1.dll. Once you load up your application, and attempt to do *anything* with the apr dll's, it's going to ask you for the path - point it to the source files you had unpacked in the first step. Better idea though is just to build libapr/libaprutil yourself. Sources of the latest release are at http://www.apache.org/dist/apr/