# StepMode

`import { StepMode } from "destack:debug";`

Debugger step mode.

```ds title="StepMode"
export enum StepMode {
    Instruction = 1,
    Statement = 2,
    Line = 3,
    Into = 4,
    Over = 5,
    Out = 6,
}
```

[language/library/src/debug/debug.ds:71:84](https://github.com/destack-sh/destack/blob/main/language/library/src/debug/debug.ds#L71-L84)

## Variants

### `Instruction = 1`

Step by one lowered program point.

### `Statement = 2`

Step to the next source statement boundary.

### `Line = 3`

Step to the next source line boundary.

### `Into = 4`

Step into calls.

### `Over = 5`

Step over calls.

### `Out = 6`

Step out of the current frame.
