Debugging a Program With dbx

trace

When the event specified by the trace command oc


trace event-specification

curs, a trace message is printed:

Most of the trace commands can be hand-crafted by using the when command, ksh functionality, and event variables. This is especially useful if you want stylized tracing output.