Putting Enumerators in Global Scope

Related Topics:

Language and Scoping Defaults

By default, debugging puts enumerators in file scope. You can choose to have enumerators put in global scope.

To put enumerators in global scope instead of file scope:

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 Language and Scoping tab.

3. Click to select the checkbox for Scoping:Put enums in global scope.

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
scope_global_enums Environment Variable.