Diagnostics
Diagnostics preferences control the handling of program errors and provide additional diagnostic services. All programs accept diagnostic preferences, thus error handling can be unified by placing value assignments for these preferences in a user’s preferences file.
beep_count_confirm
Specifies the number of audible beeps to be generated as confirmation that selected operations have completed (typically long operations that may result in failure, such as compilations). To disable confirmation beeps altogether, set this preference to 0 (this is useful in situations where audible beeps are disruptive).
| Data Type | Default Value |
|---|---|
| integer | 1 |
beep_count_error
Specifies the number of audible beeps to be generated as indication of an error condition. To disable error beeps altogether, set this preference to 0 (this is useful in situations where audible beeps are disruptive, or when programs generate many expected errors).
| Data Type | Default Value |
|---|---|
| integer | 2 |
diag_enable
Specifies that diagnostic errors are to be detected, printed (either on the standard output device or within the GUI), and logged in the <HOME>/op_admin/err_log file. Diagnostic errors indicate conditions that are incorrect but recoverable within a program, and which are not normally checked (typically, diagnostic error conditions are rare and automatically checking them reduces performance). Enabling this preference is useful during development and debugging sessions, to ensure full exposure to all potential errors.
| Data Type | Default Value |
|---|---|
| boolean | FALSE |
rec_err_suppress
Specifies that recoverable errors and warnings should be suppressed from printing (either on the standard output device or within the GUI). If rec_err_suppress is enabled, recoverable errors and warnings are still detected and logged in the <HOME>/op_admin/err_log file, and can be viewed using the op_vuerr utility. Enabling this preference is useful in situations where programs generate many expected errors.
| Data Type | Default Value |
|---|---|
| boolean | FALSE |
warning_suppress
Specifies that warnings should be suppressed from printing (either on the standard output device or within the GUI). If warning_suppress is enabled, warnings are still detected and logged in the <HOME>/op_admin/err_log file, and can be viewed using the op_vuerr utility. Enabling this preference is useful in situations where programs generate many expected warnings.
| Data Type | Default Value |
|---|---|
| boolean | FALSE |