CLion 2018.1 Help

Examining Suspended Program

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:
    ruby debuggerThreadSelector
  2. Select a frame from the Frames list. The Variables pane shows all the variables available to the method call in this frame, so you can further explore them.
    cl CodeFrames
  1. Use up and down arrow buttons on the toolbar.
  2. Use Up and Down shortcuts.
Last modified: 24 July 2018

See Also