Enum
Enum.DebuggerExceptionBreakMode
Controls when the Luau debugger pauses script execution in response to a runtime exception.
| Item | Value | Summary |
|---|---|---|
| Enum.DebuggerExceptionBreakMode.Never | 0 | The debugger never pauses due to a runtime exception; execution continues normally regardless of whether the exception is caught or uncaught. |
| Enum.DebuggerExceptionBreakMode.Always | 1 | The debugger pauses on every runtime exception, including those caught by pcall or xpcall. |
| Enum.DebuggerExceptionBreakMode.Unhandled | 2 | The debugger pauses only on runtime exceptions that propagate without being caught by pcall or xpcall. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.