digitalmars.D.learn - debug { CreateTrace(); ]
- BLS (12/12) Dec 23 2007 Hi, a silly noob question...
- Jarrett Billingsley (3/13) Dec 23 2007 That's what it's there for.
- Bill Baxter (3/18) Dec 23 2007 That's what I'd do with it.
- BLS (9/29) Dec 23 2007 Thanks folks,
Hi, a silly noob question...
may I use :
debug
{
   CreateTrace();
}
to replace
#ifdef _DEBUG
   CreateTrace();
#endif
Thanks
Bjoern
 Dec 23 2007
"BLS" <nanali nospam-wanadoo.fr> wrote in message 
news:fkm3i6$2emm$1 digitalmars.com...
 Hi, a silly noob question...
 may I use :
 debug
 {
   CreateTrace();
 }
 to replace
 #ifdef _DEBUG
   CreateTrace();
 #endif
That's what it's there for. 
 Dec 23 2007
BLS wrote:
 Hi, a silly noob question...
 may I use :
 
 debug
 {
   CreateTrace();
 }
 
 to replace
 #ifdef _DEBUG
   CreateTrace();
 #endif
 
 Thanks
 Bjoern
That's what I'd do with it.
--bb
 Dec 23 2007
Bill Baxter schrieb:BLS wrote:Thanks folks, I have not found in the language spec. Just debug: and debug() Bjoern Happy Hollydays to youHi, a silly noob question... may I use : debug { CreateTrace(); } to replace #ifdef _DEBUG CreateTrace(); #endif Thanks BjoernThat's what I'd do with it. --bb
 Dec 23 2007








 
  
  
 
 "Jarrett Billingsley" <kb3ctd2 yahoo.com>
 "Jarrett Billingsley" <kb3ctd2 yahoo.com> 