From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 896 invoked by alias); 5 Mar 2002 20:02:24 -0000 Mailing-List: contact sourcenav-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sourcenav-owner@sources.redhat.com Received: (qmail 821 invoked from network); 5 Mar 2002 20:02:23 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by sources.redhat.com with SMTP; 5 Mar 2002 20:02:23 -0000 Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id g25K2NQ15932 for ; Tue, 5 Mar 2002 12:02:23 -0800 (PST) Received: from scv3.apple.com (scv3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Tue, 5 Mar 2002 12:01:50 -0800 Received: from stravinsky (stravinsky.apple.com [17.202.41.127]) by scv3.apple.com (8.11.3/8.11.3) with ESMTP id g25K2DX07577; Tue, 5 Mar 2002 12:02:13 -0800 (PST) Date: Tue, 05 Mar 2002 12:06:00 -0000 Subject: Re: Debugging under Windows environment Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: "Sourcenav (E-mail)" To: Bruce Edson From: Syd Polk In-Reply-To: <26F9F6EAB586D411850700B0D049E6E4014D2E9E@shasta.pdx.steptech.com> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) X-SW-Source: 2002-q1/txt/msg00144.txt.bz2 On Tuesday, March 5, 2002, at 10:53 , Bruce Edson wrote: > I have successfully built Source Navigator on Windows 2000 under the > Cygwin > bash shell. I am now in the process of making > modifications/enhancements to > the application. I now need to embark on debugging changes and have > some > questions. I assume you used the Microsoft compiler. > > 1. What is the best way to go about debugging the application, and/or my > changes? > > 2. Do I debug from within Cygwin, or Windows? > Since you have used the Microsoft compiler, using the Visual Studio debugger is the correct way. However, unless you are in the C code, I would use the hyper console interactively to debug your tcl code. > 3. What tool is best to use, and does it have the typical debug > capabilities? (assuming I can't use MS VC++ Visual Studio) > You managed to get it up and running compiling with gcc? Then, use gdb. > 4. How do I build a debuggable version of the application? > If you used Visual Studio, I believe you need to set CFLAGS to "-Z7" or some such when configuring. If you used gcc, "-g". > 5. Where is there documentation about debugging in this environment? > Well, there isn't much. > Thanks in advance! > > Bruce Edson > bruce@steptech.com > >