1 min read

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

NameValueDescription
Other0Pausing for a reason not covered by other values, for example if the user hit "Pause" button.
Error1Pausing on error hit in the code.
SpecialBreakpoint2Pausing on an internal breakpoint set by debugger command: e.g. step over, step into, step out of.
UserBreakpoint3Pausing on a user breakpoint.

Other

Pausing for a reason not covered by other values, for example if the user hit "Pause" button.

FieldValue
value0

Error

Pausing on error hit in the code.

FieldValue
value1

SpecialBreakpoint

Pausing on an internal breakpoint set by debugger command: e.g. step over, step into, step out of.

FieldValue
value2

UserBreakpoint

Pausing on a user breakpoint.

FieldValue
value3