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.

ScriptStoppedReason

Passed in the Datatype.ScriptDebugStopped payload to the ScriptDebuggerService.OnStopped callback, indicating what triggered the pause.

Items

NameValueDescription
Breakpoint0Execution stopped because a user-defined breakpoint was hit.
Exception1Execution stopped because an exception was thrown (governed by the current DebugBreakModeType).
Pause2Execution stopped because ScriptDebuggerService:Pause() was called.
Step3Execution stopped after completing a step operation.
Entry4Execution stopped at a script's entry point.

Breakpoint

Execution stopped because a user-defined breakpoint was hit.

FieldValue
value0

Exception

Execution stopped because an exception was thrown (governed by the current DebugBreakModeType).

FieldValue
value1

Pause

Execution stopped because ScriptDebuggerService:Pause() was called.

FieldValue
value2

Step

Execution stopped after completing a step operation.

FieldValue
value3

Entry

Execution stopped at a script's entry point.

FieldValue
value4