CLion 2017.1 Help

Stepping Through the Program

In this section:


When a breakpoint is reached the Debug tool window becomes active and enables you to get control over the program's execution. For this purpose, you can use the Run menu commands, or the icons on the stepping toolbar of in the Debug tool window.

Each stepping action executes one or more program steps.

Stepping through the program

Do one of the following:

Tips and tricks

  • The Force Step Into command /help/img/idea/2017.1/frames_step_into.png enables you to step into a function of a class not to be stepped into , for example, a standard templates library .
    The classes, stepping into which is suppressed, are specified on the Stepping page of the Settings/Preferences dialog box.
  • The Force Step Over command /help/img/idea/2017.1/force_step_over.png enables you to jump over the function call ignoring the breakpoints on the way.
  • The Force Run to Cursor command /help/img/idea/2017.1/frames_run_to_cursor.png enables you to jump to the cursor position ignoring existing breakpoints on the way.

See Also


Last modified: 19 July 2017