Setting the Output Base
Related Topics:
By default, the base for printing integer values during debugging is determined automatically by the base of each integer constant. You can change the base to decimal, octal, or hexadecimal.
To change the output base::
- 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 Base for printing integer values, click the appropriate radio button: 8 for octal, 10 for decimal, or 16 for hexadecimal.
- 4. 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 output_base Environment Variable.