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

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com