Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
BreakReason
Value for the reason the Class.ScriptDebugger.EncounteredBreak signal fired.
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. |
Other
Pausing for a reason not covered by other values, for example if the user hit "Pause" button.
| Field | Value |
|---|---|
| value | 0 |
Error
Pausing on error hit in the code.
| Field | Value |
|---|---|
| value | 1 |
SpecialBreakpoint
Pausing on an internal breakpoint set by debugger command: e.g. step over, step into, step out of.
| Field | Value |
|---|---|
| value | 2 |
UserBreakpoint
Pausing on a user breakpoint.
| Field | Value |
|---|---|
| value | 3 |