Description: The Stack Trace window contains the aggregated stack traces for the recorded events.

Go to primary content

| Previous | Next |

# Working with Stack Traces

The Stack Trace window contains the aggregated stack traces for the recorded events.

You can use this window to analyze the calls on the stack trace that cause a large number of events.

Working with Stack Traces: Choosing Options

The following buttons appear in a row at the top of the Stack Trace window:

- Choose Frame Group: Select which frame group to expand

- Previous Frame Group: Navigate to the previous group of stack frames (when not displayed as a tree).

- Next Frame Group: Navigate to the next group of stack frames (when not displayed as a tree).

- Group Traces from Last Method Frame: Groups the stack traces using their final method frame

- Group Traces from Thread Root: Groups each stack trace using their initial thread root.

- Show as Tree: Expands the frame groups into a tree.

- View Menu: Displays various grouping, formatting, and layout options.

- Minimize: Minimizes this window.

- Maximize: Maximizes this window.

Working with Stack Traces: Viewing Results

By default, the stack trace displays its results in an interactive tree view. You can explore parts of the stack trace by expanding or collapsing on rows that begin with a triangle icon.

The View Menu icon at the top of the page provides the following options:

- Group Stacktraces From

  - Last Frame:

  - Thread Root:

- Distinguish Frames By

  - Optimization Type:

  - Bytecode Index:

  - Line Number:

  - Method:

  - Class:

  - Package:

- Layout Options

  - Show as Tree:

  - Reduce Tree Depth:

- Method Formatting Options
  - Return Value

    - Hidden

    - Class Name

    - Class and Package Name

  - Class

    - Hidden

    - Class Name

    - Class and Package Name

  - Parameters

    - Hidden

    - Class Name

    - Class and Package Name

For in-depth examples of working with stack traces, see the JMC 7.0 User Guide.

Copyright © 2018, 2022, Oracle and/or its affiliates. All rights reserved. | Previous | Next |