The function is very similar to cciServiceTraceW with the only difference being that the entry is written to service trace only when service trace is active at debug level.
void cciServiceDebugTraceW(
int* returnCode,
CciObject* object,
const CciChar* traceText
);
None. If an error occurs, the returnCode parameter indicates the reason for the error.
CciNode* thisNode = ((NODE_CONTEXT_ST*)context)->nodeObject;
CciChar* traceText = CciString(">>_Switch_evaluate()",BIP_DEF_COMP_CCSID");
cciServiceTraceW(&rc,(CciObject*)thisNode,traceText);
checkRC(rc);