Logging dbx Commands to a File

Related Topics:

Logging an Entire Debugging Session to a File Debugging Output Defaults

By default, the debugger logs the dbx commands executed during a debugging session to the file /tmp/dbx.log.uniqueID. You can specify the file name for this log file, or you can choose not to have the dbx commands logged to a file.

To log the dbx commands to a file:

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 Debugging Output tab.

3. At Logging, click the Log dbx commands to file checkbox, then type a file name in the text box. Or click the checkbox to deselect it if you do not want the dbx commands logged to a file.

4. Click OK to apply the change to the current session.

The dbx commands are written to the default file /tmp/dbx.log.uniqueID, or to the file name you type in the text box.


Note - This option is equivalent to the dbx
output_log_file_name Environment Variable.