# Enum.ScriptStoppedReason

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

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

Describes why the debugger paused execution.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Breakpoint` | 0 | Execution stopped because a user-defined breakpoint was hit. |
| `Exception` | 1 | Execution stopped because an exception was thrown (governed by the current `DebugBreakModeType`). |
| `Pause` | 2 | Execution stopped because [`ScriptDebuggerService:Pause()`](https://rapi.sleaze.dev/classes/ScriptDebuggerService.md) was called. |
| `Step` | 3 | Execution stopped after completing a step operation. |
| `Entry` | 4 | Execution stopped at a script's entry point. |
