![]() Previous |
![]() Next |
This table is the body of the Stack Traces tab and contains aggregate stack traces for all events occurred during the period set on the Range Navigator. For each trace, it shows the number of events contributing to that particular part of the trace tree, as well as the total duration for the events contributing to that part of the trace.
When you open the Stack Traces tab, the Stack Trace Table displays only the top-level method of each trace. To see the entire trace, click the right arrow next to the method name. Repeat this for each node until you locate a troublesome method or until all methods are open. To close the trace, click the minus sign (-) next to the method name. Repeat this action until you have closed all of the methods you no longer want displayed.
By using the Stack Trace table's context menu, you can perform the following:
Change the sort order of each column. See Changing the Sort Order of a Table Column.
Select which data to show by selecting from a list of available columns. See Selecting Columns to Show on a Table.
Change the amount of information in each method name on a trace. See Configuring the Trace Display.
Copy selection for pasting elsewhere, for example in a text editor, and configure how that data is to be stored on your clipboard. See Copying Data to the Clipboard.
Add and remove threads from the operative set. See Using the Stack Traces Table with the Operative Set.
The label shown for each trace is comprised of a class name, a method name, its parameters, and its return value; for example:
While the method name always appears, you can configure how many of the other components actually appear by using the Trace Settings command on the context menu; for example, if you chose to hide all of the components, the above example will look like this:
To configure the trace display:
Right-click anywhere on the Stack Trace Table to open the context menu.
Select Trace Settings.
A context sub-menu opens.
Select the component you want to display or hide:
Return Value
Class
Parameters
A context sub-menu appears.
Do either or both of the following:
Select or deselect Visible, depending on whether you want to display or hide the component.
Select or deselect Package Name, depending on whether you want to display of hide the package name.
In the stack traces tree, you can add or remove the events contributing to a certain part of the trace to or from the operative set. This functionality, accessible from the Operative Set context sub-menu, is similar to that available on other Flight Recorder tabs.
To show just traces in the operative set on the Stack Traces Table:
You can display only the stacktraces for the events in the operative set by selecting Show Only Operative Set, at the top left of the graph. When you select this checkbox, only those traces you have added to the operative set will appear on the Stack Traces Table. In addition, the Range Navigator will show the impact of the set on overall activity by changing the color of their representation as a portion of the overall events.