IntelliJ IDEA 2017.2 Help

Debug Tool Window. Frames

The Frames pane enables you to gain access to the list of threads of your application. You can also export to a text file and customize thread presentation. To examine a thread, select it from the drop-down list on top of the pane. The status and type of a thread is indicated by a special icon and a textual note next to the thread's name. For each thread, you can view the stack frame, examine frames, navigate between frames, and automatically jump to a frame's source code in the editor.

To examine the values stored in a frame, use the Variables pane of the Debug tool window.

In this topic:

Thread Status

Thread statusDescription
RUNNINGThe thread is active and running.
WAITThe thread is waiting for a monitor.
UNKNOWNThe status of the thread cannot be determined.

Threads Icons

1_threadGroup.png A thread group, or a collection of related threads that can be managed as a unit.
1_threadGroupCurrent.png The current thread group.
1_threadRunning.png An active thread.
1_threadSuspended.png A suspended thread.
1_threadFrozen.png A frozen thread.
1_threadAtBreakpoint.png A thread at breakpoint.
1_threadCurrent.png The current thread at breakpoint.

Context menu options

Drop Frame Use this command to drop the selected frame, i.e. go back in time while debugging. This option is only available if there are two or more frames.
Force Return Use this command to force a return from the current method before the return statement is reached and without executing any more instructions from it. If the method returns a value, you will be prompted to specify it (smart code completion is provided). If the method has try-finally blocks, you will be prompted to choose whether you want to execute them or not.
Add Stepping Filter Use this command to add a stepping filter in the dialog that opens.
/help/img/idea/2017.2/exportToTextFile.png Export Threads Use this item to open the Export Threads dialog box that allows you to export a thread to the specified text file.
Customize Threads ViewUse this item to manage contents of the Frames tab. For example, you can opt to show thread groups, line numbers etc. Refer to the dialog description for details.


ItemShortcut and TooltipDescription
arrowUp.png arrowDown.png Previous Frame/Next Frame Ctrl+Alt+Up/
Use the arrow buttons to navigate through the frame stack.
/help/img/idea/2017.2/commonfilter.png Hide Frames from LibrariesClick this button to hide frames from libraries. If this button is released, all frames are displayed.

See Also

Last modified: 18 August 2017