Hi,

Creating a new CW project creates 2 targets: Debug and Release.  How do I add 
debugging code to the Debug target?  Is there a symbol defined ("DEBUG"?) that 
I use, or is it a matter of having one file (that defines "DEBUG") included in 
one target and not in the other?  What are my options?

I want to do something like this:
#ifdef DEBUG
    x = 1;
#else
    x=2;
#endif

Thanks,

Peter





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to