Turning On Dynamic Type
Related Topics:
By default, the debugger does not automatically cast C++ variables to dynamic type.
To automatically cast C++ variables to dynamic type:
- 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 Variable Evaluation, (C++ only), select the Automatically cast to dynamic type checkbox.
- 4. Click OK to save changes for the current session, or click Save As Defaults and then click OK to save as the new default for all sessions.
Note - This option is equivalent to the dbx output_dynamic_type Environment Variable and to the -d option to the dbx print commands.