digitalmars.D.learn - debug { CreateTrace(); ]
- BLS <nanali nospam-wanadoo.fr> Dec 23 2007
- "Jarrett Billingsley" <kb3ctd2 yahoo.com> Dec 23 2007
- Bill Baxter <dnewsgroup billbaxter.com> Dec 23 2007
- BLS <nanali nospam-wanadoo.fr> Dec 23 2007
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: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
I have not found in the language spec. Just debug: and debug() Bjoern Happy Hollydays to you
Dec 23 2007









"Jarrett Billingsley" <kb3ctd2 yahoo.com> 