Setting Stack Crawl Depth

Select the Maximum stack crawl depth command lets you set the depth of the stack to read and display. Showing all levels of calls when you are examining function calls several levels deep can sometimes make stepping through code more time-consuming. Therefore, you can use this menu option to reduce the depth of calls that the debugger displays.

To set the stack crawl depth, perform these steps.

  1. Select Window > Preferences.

    The Preferences dialog box appears.

  2. Expand the C/C++ tree control and select Debug.

    The general settings for C/C++ debugging are displayed on the right-hand side of the Preferences dialog box.

  3. Specify the appropriate stack crawl depth, in the Maximum stack crawl depth text box.
    Note: You can specify any integer from 1 to 100.