Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E866B200C1A for ; Mon, 30 Jan 2017 03:52:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E6EC4160B58; Mon, 30 Jan 2017 02:52:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3C268160B4F for ; Mon, 30 Jan 2017 03:52:07 +0100 (CET) Received: (qmail 91758 invoked by uid 500); 30 Jan 2017 02:52:06 -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 91747 invoked by uid 99); 30 Jan 2017 02:52:06 -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; Mon, 30 Jan 2017 02:52:06 +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 6D599188889 for ; Mon, 30 Jan 2017 02:52:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.771 X-Spam-Level: * X-Spam-Status: No, score=1.771 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-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 94X53rr48XOY for ; Mon, 30 Jan 2017 02:52:01 +0000 (UTC) Received: from biz190.inmotionhosting.com (biz190.inmotionhosting.com [23.235.223.145]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id F0AAA5F1C2 for ; Mon, 30 Jan 2017 02:52:00 +0000 (UTC) Received: from ip70-181-175-67.sd.sd.cox.net ([70.181.175.67]:60435 helo=[192.168.1.129]) by biz190.inmotionhosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cY24B-001Fbm-Cm for dev@openoffice.apache.org; Sun, 29 Jan 2017 18:51:53 -0800 Subject: Re: AOO debugging revamp To: dev@openoffice.apache.org References: <25859886-ad21-b54e-6cea-2cf9fa17c43e@acm.org> From: Patricia Shanahan Message-ID: <8fb92472-b988-a3ed-4552-ba06e9d7451d@acm.org> Date: Sun, 29 Jan 2017 18:51:26 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-0.2 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 X-Source: X-Source-Args: X-Source-Dir: archived-at: Mon, 30 Jan 2017 02:52:08 -0000 On 1/29/2017 5:59 PM, Damjan Jovanovic wrote: > I am trying a Windows rebuild now. In the meanwhile, what debugger are > you using? Can you debug any other modules, eg. vcl which uses gbuild, > or sal which uses dmake? I'm using Visual Studio Community 2013. sal: Yes, at least the breakpoint stays red in the breakpoints display. vcl: No, "No symbols have been loaded for this document". > > It's possible that Windows also needs gb_LinkTarget_LDFLAGS += -DEBUG to > enable debugging, as per the "ifeq ($(gb_DEBUGLEVEL),2)" part of > solenv/gbuild/platform/windows.mk . If so, please try > the attached patch which should do that. I'll try it. > > > > On Sun, Jan 29, 2017 at 10:34 PM, Patricia Shanahan > wrote: > > On 1/25/2017 9:35 AM, Damjan Jovanovic wrote: > > Hi > > For a while I've noticed how gbuild modules don't have debug > symbols unless > built with the maximum debug level ("./configure --enable-debug" > globally > or "build debug=true" per module) which also produces oceans of log > messages we usually don't want. > > In r1780246, I've finally changed debugging in gbuild to match > how dmake > works: --enable-symbols and --enable-crashdump now also add > debug symbols > to gbuild modules like they do to dmake modules, and the > --enable-symbols=small option is also implemented for GCC and > Clang (sorry > Windows developers, MSVC doesn't seem to have it). The only > extra benefit > of --enable-debug on top of this now, is that it disables compiler > optimizations - should we disable them for --enable-symbols too? > > In r1780248 I've also made Java's .class files get full > debugging info > whenever C++ does. > > This should vastly improve running AOO under a debugger, as we > get nice > line numbers and variable names for absolutely everything :-). > > > I compiled with the attached configure parameters, and breakpoints > are not working in main/sw/source/ui/app/docsh.cx > x, "No symbols have been loaded for this document". > What should I change? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org > > For additional commands, e-mail: dev-help@openoffice.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org > For additional commands, e-mail: dev-help@openoffice.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org