A run-time monitor allows defining sets of run-time error criteria and
corresponding diagnostic action to take when the run-time error criteria
is satisfied. One way to define the run-time error criteria is to take a
baseline measurement of run-time errors that occur during normal
processing conditions. A run-time error criteria may then be defined that
is based on the baseline measurement. In this manner, a rate of run-time
errors that normally occur may be ignored, while a rate of run-time
errors in excess of the run-time error criteria could automatically
initiate diagnostic action. In this manner, the ability of a programmer
to debug run-time errors is significantly enhanced.