SOM_NoTrace
Appearance
This macro is used to turn off method debugging.
Syntax
<token> className; <token> methodName; SOM_NoTrace(className, methodName);
Parameters
- className (<token>)
- The name of the class for which tracing will be turned off, given as a simple token rather than as a quoted string.
- methodName (<token>)
- The name of the method for which tracing will be turned off, given as a simple token rather than as a quoted string.
Return Code
Remarks
The SOM_NoTrace macro is used to turn off method debugging. Within an implementation file for a class, before #including the implementation (.ih or .xih) header file for the class, #define the <className>MethodDebug macro to be SOM_NoTrace. Then, <className>MethodDebug will have no effect.
Expansion
The SOM_NoTrace macro has a null (empty) expansion
Example Code
#define AnimalMethodDebug(c,m) SOM_NoTrace(c,m) #include <animal.ih> /* Now AnimalMethodDebug does nothing */