Thread Dumps View


  In the thread dumps view you can take thread dumps that show the current stack traces of all threads that can be displayed in the thread history view.
  A new thread dump is taken by clicking on the  [Thread dump] tool bar button. This button is also present for the thread history view and the thread monitor view. A bookmark will be added to the time-resolved views.

The new thread dump will by added to the list of thread dumps and it will be selected automatically. The two lists to the right show the threads that are contained in the currently selected thread dump as well as the stack trace of the currently selected thread.

The list of threads is organized according to thread groups, similar to the thread selector in the CPU views.

The stack traces in thread dumps are not filtered, i.e. the filter settings in the session settings do not apply. The context menu gives access to source and byte code navigation. Double-clicking on a stack trace element shows the selected method.

  Thread dumps can be copied to the clipboard with the  [Copy To Clipboard] button at the top of the list of thread dumps. The entire selected thread dump is copied as plain text to the clipboard.

To copy a single thread only, choose the Copy Selected Thread To Clipboard menu item from the context menu of the list of threads.

When exporting the thread dumps view to HTML, the file chooser offers a combo box for exporting the selected thread dump only, or all thread dumps to the same file.

  Thread dumps can be compared in a diff viewer. Select two thread dumps and click the  [Show difference] button at the top of the list of thread dumps. A new window will be opened that shows all differences between the selected thread dumps in a code-style diff viewer.

It is also possible to compare two threads from a single thread dump by selecting them and choosing Show difference from the context menu.

  Thread dumps can also be taken with the trigger thread dump trigger action or via the API.