Calling Destructors When Popping Stack Frames
Related Topics:
The appropriate destructors for local variables are automatically called when you pop a frame. In certain cases, you may want to disable this feature.
To turn off auto destruct:
- 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 Behavior tab.
- 3. At Call destructors when popping stack frames, click the No radio button.
- 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 pop_auto_destruct Environment Variable.