DataGrip
 
2023.2
Get DataGrip
You are viewing the documentation for an earlier version of DataGrip.

Step through the program

Last modified: 28 October 2023

Stepping is the process of controlling step-by-step execution of the program.

DataGrip provides a set of stepping actions, which are used depending on your strategy (for example, whether you need to go directly to the next line or enter the methods invoked on your way there).

The stepping buttons are located on the Debug window toolbar.

Stepping buttons in the Debug tool window

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 advances the execution point to the next execution location, depending on the action you choose.