Changing the Default Number of Stack Frames

Related Topics:

Command Line Only Defaults

By default, the number of stack frames shown by the dbx where command is 100. When running dbx outside of Sun WorkShop, you can set the number of stack frames shown by the where command.

To change the default number of stack frames:

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 Command Line Only tab.

3. At Default number of stack frames, type a number in the text box.

The default number of frames for the where command is reset.

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