05-23-2006 03:19 PM
05-23-2006 03:46 PM
It's not clear to me if you don't want to execute parts of code when executing in debug mode or if you want to completely exclude them from compilation.
In the first case you could enclose those parts into a if (!BeingDebuggedByCVI ()) { } structure: they will be compiled but not executed if in debug mode; in the latter case you could use the #ifdef YOUR_MACRO and #endif preprocessor directives to enclose the lines not to compile: if there is a #define YOUR_MACRO directive the lines will be compiled (and executed) , otherwise they won't.
05-23-2006 04:00 PM
05-23-2006 04:08 PM