The DBDK_TRACE_ENTER() and DBDK_TRACE_EXIT() macros

If you have tracing enabled and the trace threshold set to 20 or above, the DBDK_TRACE_ENTER() and DBDK_TRACE_EXIT() macros write messages to the trace file when the called routine is entered and exited. BladeSmith automatically adds these macros to generated code for every routine.

The syntax for the DBDK_TRACE_ENTER() and DBDK_TRACE_EXIT() macros is as follows:
DBDK_TRACE_ENTER(caller);
DBDK_TRACE_EXIT(caller);
caller
The parameter that specifies the name of the C routine to which you are adding the macro.
For example, if you have a routine called ExmAmortize(), the following code fragment sends a message to the message file when the ExmAmortize() routine is entered:
DBDK_TRACE_ENTER("ExmAmortize");