An application that will be using component trace might have a
display trace exit routine that provides status information about
the component trace for the DISPLAY TRACE operator command. You are
responsible for writing this optional routine.
A display trace exit routine is desirable if the component trace
changes the trace mode, buffer size, or options independent of the
TRACE CT operator command. There may be conditions under which the
component trace may need to change the status of the trace, such as:
- If the operator issues the TRACE CT command to change the buffer
size, the component trace might round the buffer size up or down.
When a D TRACE command is displayed and a display trace exit routine
is provided, the display exit can provide the buffer size to be displayed.
If no display trace exit routine is provided, then the buffer size
specified on the TRACE CT command is displayed.
- If a problem occurs, the component trace might decide to stop
or start tracing, or change trace options.