Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85FFD18093 for ; Wed, 16 Mar 2016 19:07:45 +0000 (UTC) Received: (qmail 37904 invoked by uid 500); 16 Mar 2016 19:07:45 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 37825 invoked by uid 500); 16 Mar 2016 19:07:45 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 37814 invoked by uid 99); 16 Mar 2016 19:07:45 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 19:07:45 +0000 Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 010D61A010E for ; Wed, 16 Mar 2016 19:07:44 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id m82so46178877oif.1 for ; Wed, 16 Mar 2016 12:07:44 -0700 (PDT) X-Gm-Message-State: AD7BkJIOLn4OhzJNQcaC1FOKT8JoeujO18ly0ox07o6Zugo6BzHL158JJBMhjmioOETEABKP0tm4wMkQo/c2vw== X-Received: by 10.202.177.3 with SMTP id a3mr3496015oif.2.1458155264081; Wed, 16 Mar 2016 12:07:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.38.168 with HTTP; Wed, 16 Mar 2016 12:07:24 -0700 (PDT) In-Reply-To: <56E9AAA4.7010508@acm.org> References: <56E6C472.9000405@acm.org> <95220ED8-DC18-4A9E-8516-31B220653A42@gmx.de> <56E9A367.4010502@acm.org> <56E9AAA4.7010508@acm.org> From: Damjan Jovanovic Date: Wed, 16 Mar 2016 21:07:24 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Debug on Windows To: Apache OO Content-Type: multipart/alternative; boundary=001a113cfa168b08b9052e2f3a17 --001a113cfa168b08b9052e2f3a17 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Mar 16, 2016 at 8:49 PM, Patricia Shanahan wrote: > > > On 3/16/2016 11:24 AM, Damjan Jovanovic wrote: > >> On Wed, Mar 16, 2016 at 8:18 PM, Patricia Shanahan wrote: >> >> On 3/14/2016 10:49 AM, Oliver Brinzing wrote: >>> >>> Hi Patricia, >>>> >>>> Has anyone nailed getting e.g. windbg running with AOO on Windows? If >>>> so, >>>> >>>>> I have some questions. >>>>> >>>>> >>>> better try with vs 2013 community edition =F0=9F=98=89 >>>> I remember I had a lot of trouble with windbg. >>>> >>>> >>> Thanks for the tip - it does work better than windbg. >>> >>> However, I seem to have a problem with it not loading all the symbols, = so >>> I cannot set a breakpoint where I want. >>> >>> My general procedure is to build AOO with configure parameter >>> --enable-symbols. I unzip the archive version, copy soffice.bin, and >>> rename >>> the copy sofficebin.exe. >>> >>> In Visual Studio, I do File-Open-Project/Solution and select my >>> sofficebin.exe. It seems to do some symbol loading, but not the module = I >>> want. >>> >>> Anyone have any suggestions? >>> >>> >>> Which module are you trying to debug this way? --enable-symbols only >> seems >> to work for dmake modules, gbuild modules don't get any debug symbols. I >> have a preliminary fix. >> > > I was trying to debug in main/tools/source/generic. > main/tools uses gbuild, so it won't have debug symbols with --enable-symbols. As a workaround, after "source winenv.set.sh", "cd" to "tools", and run "make clean debug=3Dtrue" to rebuild it with debug symbols. Then "build --all" from instsetoo_native to pull in that debug copy when building the new installation package, or (much faster especially on Windows) if you know which files it built, you can copy those yourself from solver/420/... over the ones in your pre-existing AOO installation. --001a113cfa168b08b9052e2f3a17--