Controlling message batching

By default, Purify displays an error message the first time the error occurs, along with a count of all subsequent occurrences of the same error. Purify considers errors to be the same if they have identical call chains.

If you are generating ASCII text in the default first-only mode, -messages=first, Purify does not increment counts of repeated errors. You can display all the messages Purify generates, in the order in which they occur, by setting the option -messages=all.

By default, Purify does not update the counts on the display continuously, because that would impact performance. Instead, Purify updates counts only when new messages are displayed. If you need to correlate repeated occurrences of errors with program activity interactively, set -messages=all to enable the display of all messages.

To have Purify wait until the program terminates before displaying messages, set the option -messages=batch. Purify does not batch report entries generated when you use log file functions such as purify_logfile_printf; it reports them immediately.

Purify also supplies message batching API functions.