IntelliJ IDEA 12.1.0 Web Help

When a breakpoint is hit, or a program execution is manually suspended, you can examine your application by analyzing frames.

A frame corresponds to an active method or function call. A frame stores the local variables of the called method or function, the arguments to it, and the code context that enables expression evaluation.

All currently active frames are displayed on the Frames pane of the Debug tool window, where you can switch between them and analyze the information stored therein.

To examine frames of a suspended thread
  1. Select a thread from the thread selector drop-down list on top of the Frames pane. The list of frames is displayed:

    debuggerThreadSelector

  2. Select a frame. All the values available to this frame's method call are displayed in the Variables pane, so you can further explore them:

    python_debuggerFramesAndVariables

To navigate between frames
  • Use up and down arrow buttons on the toolbar.
  • Use UpUpUpUpUp or Ctrl+PUpUpUpUpUpUpUp or Control P and DownDownDownDownDown or Ctrl+NDownDownDownDownDownDownDown or Control N shortcuts.

    Note

    You do not need to perform any actions to navigate to the frame's source code. IntelliJ IDEA automatically jumps to the source code of the selected frame in the editor.

Exporting threads

If you need to get a report on the status of all the threads, you can export threads information.

To export threads
  1. Right-click anywhere in the Frames tab and select Export Threads from the context menu, or select Run | Export Threads from the main menu.
  2. To save a report as a text file, specify the path to the file in the Export Threads dialog and click Save.
  3. To copy it to the Clipboard, click Copy.

See Also

Procedures:

Reference:

Web Resources: