Setting the Stack Depth for Reports
Related Topics:
By default runtime checking displays two stack levels in memory blocks and leaks reports. You can choose to have it display any stack depth from 1 to 16 levels.
To set the stack depth for blocks and leaks reports:
- 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 Runtime Checking tab.
- 3. At Stack Depth for Memory Use and Leak Reports, click the Set Value Below radio button, and type a value in the text box.
- 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.