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 4595418F3C for ; Wed, 16 Mar 2016 23:09:33 +0000 (UTC) Received: (qmail 60164 invoked by uid 500); 16 Mar 2016 23:09:32 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 60084 invoked by uid 500); 16 Mar 2016 23:09:32 -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 60063 invoked by uid 99); 16 Mar 2016 23:09:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Mar 2016 23:09:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0ADD0180184 for ; Wed, 16 Mar 2016 23:09:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.971 X-Spam-Level: X-Spam-Status: No, score=0.971 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RZhQNXxBaXiG for ; Wed, 16 Mar 2016 23:09:29 +0000 (UTC) Received: from biz190.inmotionhosting.com (biz190.inmotionhosting.com [192.145.239.36]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 28CFB5F1C2 for ; Wed, 16 Mar 2016 23:09:29 +0000 (UTC) Received: from ip70-181-175-67.sd.sd.cox.net ([70.181.175.67]:56698 helo=[192.168.1.113]) by biz190.inmotionhosting.com with esmtpsa (TLSv1.2:DHE-RSA-AES256-SHA:256) (Exim 4.86_1) (envelope-from ) id 1agKZ2-002K6h-GJ for dev@openoffice.apache.org; Wed, 16 Mar 2016 16:09:21 -0700 Subject: Re: Debug on Windows To: dev@openoffice.apache.org References: <56E6C472.9000405@acm.org> <95220ED8-DC18-4A9E-8516-31B220653A42@gmx.de> <56E9A367.4010502@acm.org> <56E9AAA4.7010508@acm.org> From: Patricia Shanahan Message-ID: <56E9E79A.7050108@acm.org> Date: Wed, 16 Mar 2016 16:09:14 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - biz190.inmotionhosting.com X-AntiAbuse: Original Domain - openoffice.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - acm.org X-Get-Message-Sender-Via: biz190.inmotionhosting.com: authenticated_id: pats+patriciashanahan.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: biz190.inmotionhosting.com: pats@patriciashanahan.com On 3/16/2016 12:07 PM, Damjan Jovanovic wrote: > 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 😉 >>>>> 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=true" 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. > This workaround works, but I keep needing to apply it to additional modules, which makes debug slow. Is there a list, or a quick way of identifying, the gbuild modules so I can just remake them all? Thanks, Patricia --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org