Logging Errors to a File and Continuing

Related Topics:

Runtime Checking Defaults rtc_error_log_file_name Environment Variable

By default, runtime checking stops execution of your program each time it encounters an error. You can ask runtime checking to log errors to a separate file and continue running your program.You can choose to rename the error log file; the default file name is /tmp/dbx.errlog.pid.

To log errors to a file and continue running:

1. In the Debugging Window, choose Debug Debugging Options. Or, in the Sun WorkShop main window, choose Options Debugging Options.

2. In the Debugging Options Dialog Box, click the Runtime Checking tab.

3. At Error Reporting, click the Log errors to file and continue check box.

4. If you want to rename the error log file, type a new file name in the Filename text box.

5. Click OK to apply the change to the current session, or click Save as Defaults and then click OK to apply it to all sessions.

Note - This option is equivalent to the dbx
rtc_auto_continue Environment Variable