long ZCslSetTraceMode( /* set trace mode */
ZCslHandle aHandle, /* CSL handle */
long aMode /* trace mode to set */
);
Set trace mode. Predefined mode constants are:
| Mode |
Description |
| ZCslTraceNone |
Trace output is turned off (default) |
| ZCslTraceCode |
Trace P-code instructions together with the 2 top stack elements.
|
| ZCslTraceFuncs |
Trace function entry and exit. Trace output will be indented within the function.
|
| ZCslTraceBlks |
Trace entry and exit of named blocks. Trace output will be indented within the
block. Use #block to name blocks.
|
| ZCslTraceMsgs |
Trace expressions of trace statement or API
ZCslTrace and ZCsl::trace
member.
|
The mode constants above may be combined by or-ing them. Combined constants are
predefined as:
| Mode |
Description |
| ZCslTraceInfo |
ZCslTraceFuncs | ZCslTraceBlks | ZCslTraceMsgs |
| ZCslTraceAll |
ZCslTraceCode | ZCslTraceFuncs | ZCslTraceBlks | ZCslTraceMsgs
|
|