This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: include/sys/strace.h
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Cc: Earnie Boyd <Cygwin-Patches at Cygwin dot Com>
- Date: Tue, 22 Jan 2002 20:36:58 -0500
- Subject: Re: include/sys/strace.h
- References: <3C4E0C9F.1BEECC02@yahoo.com> <0d8701c1a3ab$57a8f430$0200a8c0@lifelesswks>
- Reply-to: Earnie Boyd <Cygwin-Patches at Cygwin dot Com>
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