delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/24/12:26:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 24 May 2003 12:26:13 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Peter Davis <pdavis AT pageflexinc DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Cygwin, mutt, Windows XP issues
In-Reply-To: <20030524115323.GA4424@bitstream.com>
Message-ID: <Pine.GSO.4.44.0305241223340.26092-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Sat, 24 May 2003, Peter Davis wrote:

> On Fri, May 23, 2003 at 04:39:01PM -0400, Igor Pechtchanski wrote:
>
> [snip]
>
> > > Thanks, Igor.  This was helpful, but I haven't solved these problems
> > > yet.  Any debugging tips?  I've been able to build mutt 1.5.4, but I
> > > don't know how to build a debug version, and, unlike 1.4i, it crashes
> > > on some messages.
> >
> > See suggestion above (write a short test case that uses the same code, and
> > keep adding code from mutt to it until it stops working).  I doubt the
> > part of mutt that checks the mailbox timestamps has anything to do with
> > curses.
>
> No, I know the timestamps have nothing to do with curses, I'm just
> wondering if I can debug in the same window where curses is repainting
> the screen, etc.
>
> Thanks!
> -pd

Peter,

FYI, if you debug an app in gdb, it will open a new console window in
which the app itself would run, so you won't be debugging and running the
app in the same window.  Simply set the breakpoint in the function that
checks the timestamps, use mutt normally, and when it stops at the
breakpoint, step through the code (you'll still need a debug version of
mutt, though).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019