Message batching option

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 (that is, errors with identical call chains). This option allows you to modify the default behavior.

 

Option

Default

-messages

first

Controls how Purify handles repeated messages that have the same call chain.

-messages=first: Purify displays only the first occurrence of each repeated message. If the same message is generated again and the output is being sent to the Purify Viewer, the message is not displayed but the repeat count on the first message is updated. Purify discards repeated messages when saving output to a log file.

-messages=batch: Purify batches all error messages and displays them along with repeat counts when the program exits. This mode is useful when you send output to a log file or mail-mode report and you want to note the number of occurrences of each message.

-messages=all: Purify displays each error message in the order generated. This is useful for some types of interactive debugging, for example, where you need to correlate repeated occurrences of errors with other program actions.

 

Notes: