This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: include/sys/strace.h


Robert Collins wrote:
> 
> ===
> ----- Original Message -----
> From: "Earnie Boyd" <earnie_boyd@yahoo.com>
> To: "Earnie Boyd" <Cygwin-Patches@Cygwin.Com>
> Sent: Wednesday, January 23, 2002 12:06 PM
> Subject: include/sys/strace.h
> 
> > I've created simple macros to set strace.active ON or OFF when
> > --enable-debugging is enabled.
> >
> > Comments?
> 
> I'm not sure of the purpose of the macros - could you enlarge on that
> please.
> 

Sure,

There is a nice DebugView utility from sysinternals.com that captures
the OutputDebugString info into it's own window.  I can _STRACE_ON when
entering a function I suspect needs debugging and _STRACE_OFF before
leaving it to minimize the amount of strace output.  Doing this gives me
more control of what I'm debugging within the Cygwin1.dll.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]