Watch exit programs

You can implement these exit programs when you use the trace function.

Related reference
Example: Watch exit program