On this page:
1.1 Step in
1.2 Step Over

1 Stepping🔗

When N-Dolphin is showing a complete python program without any un-initialized variables, stepping is usually the simplest way to get to the answer (this is also true for most debuggers, pythontutor, etc.).

1.1 Step in🔗

When the current selection (the red text) is something N-Dolphin considers a single step, such as 7*20 or 5>100, the Step in button converts the selection to a simple value, such as 140 or False.

When Step in is applied to a variable use, the variable name is transformed into the initializing value or expression, if one is present. If the variable is not initialized, Step in has no effect.

When Step in is applied to something that is not a single step, such as a literal value such as 7, or a complex expression such as (3+4)*(28-8), N-Dolphin adjusts the selection to move toward the next single-step that would be executed, e.g., selecting the 3+4 within the (3+4)*(28-8), after which the next clicks of Step in would turn that 3+4 into 7, and then select the 28-8, since that’s what would be computed after the 3+4 in this example.

1.2 Step Over🔗

The Step over button can be used to see the final result of an expression without having to watch every step.

For example, if we click Step over with the expression (3+4)*(28-8) selected, we’ll get right to the result, i.e., 140.