Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
DebugBreakModeType
Used with ScriptDebuggerService:SetExceptionBreakMode() to control when the debugger pauses on exceptions. The mode applies to all DataModels.
Items
| Name | Value | Description |
|---|---|---|
| Never | 0 | Never break on exceptions. |
| Always | 1 | Break on all exceptions. |
| Unhandled | 2 | Break only on unhandled exceptions. |
Never
Never break on exceptions.
| Field | Value |
|---|---|
| value | 0 |
Always
Break on all exceptions.
| Field | Value |
|---|---|
| value | 1 |
Unhandled
Break only on unhandled exceptions.
| Field | Value |
|---|---|
| value | 2 |