W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

HTTRACE

From: Mikhail Grouchinski <mgrouch@usa.net>
Date: 25 Feb 99 11:11:03 EST
Message-ID: <19990225161103.19399.qmail@nw128.netaddress.usa.net>
To: www-lib@w3.org
Hi, again,

With new tracing we still unable to print file name and source line #.
Why not to add another option?

#ifdef  HTDEBUG_WITH_LINES
#define HTTRACE(TYPE, FMT) \
do{if(TYPE){HTTrace("%s:%u\t",__FILE__,__LINE__);HTTrace(FMT);}}while(0);
#else /* HTDEBUG_WITH_LINES */
   do { if (TYPE) { HTTrace(FMT); } while (0);
#endif /* HTDEBUG_WITH_LINES */

Best regards,
Mikhail

____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
Received on Thursday, 25 February 1999 11:11:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT