Re: debug messages


Subject: Re: debug messages
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Wed Mar 14 2001 - 15:38:29 CST


According to Dom Lachowicz <cinamod@hotmail.com>:
> Thomas F wrote:
> > No DONT'T terminate the messages with \n. The UT_DEBUGMSG()
> >macro will already put a newline on things for you. I hate
> >having all of our stuff double spaced on debug output!
>
> You're only partially correct here:
>
> The Unix version: fprintf(stderr,"DEBUG: %s",sBuf);
> The QNX version: fprintf(stderr,"DEBUG: %s\n",sBuf);
> The BeOS version: fprintf(stderr,"DEBUG: %s",sBuf);
> The Win32 version: OutputDebugString(sBuf);
> The Mac version: DebugStr(sBuf);

Mmm. not that good. actually DebugStr drops to the low level debugger.
macOS X uses Unix like output.

Hub



This archive was generated by hypermail 2b25 : Wed Mar 14 2001 - 15:34:35 CST