Reference API Roblox

Engine API

Website

Related

Reference API Roblox

DebuggerExceptionBreakMode

Controls when the Luau debugger pauses script execution in response to a runtime exception.

Items 3

HistoryNameValueDescription
515Never0

The debugger never pauses due to a runtime exception; execution continues normally regardless of whether the exception is caught or uncaught.

598Always1

The debugger pauses on every runtime exception, including those caught by pcall or xpcall.

598Unhandled2

The debugger pauses only on runtime exceptions that propagate without being caught by pcall or xpcall.

Description

Controls when the Luau debugger pauses script execution in response to a runtime exception. This enum is used as the breakMode argument to DebuggerConnection:SetExceptionBreakMode().

History 8

Settings