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 AACB8D375 for ; Sun, 4 Nov 2012 19:04:44 +0000 (UTC) Received: (qmail 3631 invoked by uid 500); 4 Nov 2012 19:04:44 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 3504 invoked by uid 500); 4 Nov 2012 19:04:44 -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 3496 invoked by uid 500); 4 Nov 2012 19:04:44 -0000 Delivered-To: apmail-incubator-ooo-dev@incubator.apache.org Received: (qmail 3492 invoked by uid 99); 4 Nov 2012 19:04:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Nov 2012 19:04:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.25.134.82] (HELO mailout05.t-online.de) (194.25.134.82) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Nov 2012 19:04:36 +0000 Received: from fwd11.aul.t-online.de (fwd11.aul.t-online.de ) by mailout05.t-online.de with smtp id 1TV5US-0001Ml-VS; Sun, 04 Nov 2012 20:04:13 +0100 Received: from [192.168.0.23] (Ew7n3QZeohqAgoTikzc-Tlyq51Ci6VxLwPfA1iDoddiMQLlNw5uKpu6kxUEr8N1wxr@[87.161.153.182]) by fwd11.t-online.de with esmtp id 1TV5UR-1o23Oq0; Sun, 4 Nov 2012 20:04:11 +0100 Message-ID: <5096BC28.1060208@t-online.de> Date: Sun, 04 Nov 2012 20:04:08 +0100 From: Regina Henschel User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Firefox/16.0 SeaMonkey/2.13.2 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: Looking for guide to debug with MS Visual Studio Express References: <50910D1F.90608@t-online.de> <50911C46.4030007@googlemail.com> <5092A1F6.6060305@googlemail.com> In-Reply-To: <5092A1F6.6060305@googlemail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ID: Ew7n3QZeohqAgoTikzc-Tlyq51Ci6VxLwPfA1iDoddiMQLlNw5uKpu6kxUEr8N1wxr X-TOI-MSGID: acc2f0c1-9743-4637-bdf2-128b7f4bc5f6 X-Virus-Checked: Checked by ClamAV on apache.org Hi Andre, Andre Fischer schrieb: > On 31.10.2012 13:40, Oliver-Rainer Wittmann wrote: >> Hi, >> >> On 31.10.2012 12:35, Regina Henschel wrote: >>> Hi all, >>> >>> I read that debugging with MS Visual Studio works well. Is there >>> somewhere a >>> guide for dummies how to do it? >>> >> >> The following steps should give you a start: >> - Have your AOO build installed on the system. >> - Build the module of interest with debug information >> - Copy the resulting DLLs and PDB files of the module into the >> corresponding directory of the installation. >> -- for "gbuild" modules like sw you find the DLLs and PDB files in >> /main/solver/350/wntmsci12/workdir/LinkTarget/Library/ >> -- for "dmake" modules like sd you find the DLLs and PDB files in >> /main/[module]/wntmsci12/bin/ > > I do it a little differently from here on because I am a lazy person who > wants to press just one key to start debugging: > > - Start Visual Studio > The Express version is just fine. I have been using it for most of > my debugging for years. > > - File->New Project > > - In the new dialog: > - In left list "Installed Templates" choose Visual C++->General > - In center list choose "Empty Project" > - In field near the bottom "Location" enter a path where the solution > files will be stored. > - In the field above that, "Name", enter the name of the new project, > eg "aoo35" > - Click OK to close dialog > > - Now the main window shows a new view. > - In the "Solution Explorer" on the left side you will now see an entry > in bold typeface named "aoo35". > - I usually delete the entries below it "Header Files", "Resource > Files", "Source Files". These are used only when Visual Studio is used > for editing. But that is just for my convenience > - Right click on the "aoo35" entry. > - Click "Properties" > > - In the "aoo35 Property Pages" dialog: > - Select "Configuration Properties->Debugging" in the left box. > - In the center box change values for "Command" to > "/OpenOffice.org 3/program/soffice.bin" > The .bin is important, do not use .exe > - Set value for "Environment" to > "PATH=/OpenOffice.org 3/URE/bin" > - [optional] Set value of "Command Arguments" to to load a > file when AOO starts or to eg "-impress" to start AOO with the Impress > application. > - Click OK to close dialog > > > Now you are all set > Just press "F5" to start Apache OpenOffice. I have followed your guide. I find all items you have mentioned :) I now get some informations from MSVC. I have copied them to the issue https://issues.apache.org/ooo/show_bug.cgi?id=121139 Any tips what I can do in addition to get useful informations? Kind regards Regina