# Enum.BreakReason

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/BreakReason/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/BreakReason

Reason for the breakpoint hit.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Other` | 0 | Pausing for a reason not covered by other values, for example if the user hit "Pause" button. |
| `Error` | 1 | Pausing on error hit in the code. |
| `SpecialBreakpoint` | 2 | Pausing on an internal breakpoint set by debugger command: e.g. step over, step into, step out of. |
| `UserBreakpoint` | 3 | Pausing on a user breakpoint. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [ScriptDebugger](https://rapi.sleaze.dev/classes/ScriptDebugger.md): event parameter `EncounteredBreak`
