DebuggerBreakpoint

Show Deprecated
Not Creatable

Represents a breakpoint in Roblox's Lua Debugger. This object cannot be created, but it can be retrieved from the ScriptDebugger class.

Summary

Properties

The condition of the debugger breakpoint.

Whether or not to continue execution when breakpoint is hit.

Whether or not the breakpoint is enabled.

The line that the breakpoint has been placed on.

READ ONLY
NOT REPLICATED

An expression to log into the Output window.

Whether the breakpoint is unique for a single script instance or not.

Methods

Events

Properties

Condition

The condition of the debugger breakpoint.

ContinueExecution

This field controls whether debugger will stop on the breakpoint or not.
It is used together with the DebuggerBreakpoint.LogExpression to log a message when breakpoint is hit, without pausing into the debugger to act as a 'logpoint' instead of a 'breakpoint'.

IsEnabled

Whether or not the breakpoint is enabled.

Line

Read Only
Not Replicated

The line that the breakpoint has been placed on.

LogExpression

An expression which is evaluated when the breakpoint is hit with the result being logged into the Output window.
Used together with DebuggerBreakpoint.ContinueExecution to implement a 'logpoint' instead of a 'breakpoint'.

isContextDependentBreakpoint

Whether the breakpoint is unique for a single script instance or not.
When set, the breakpoint will not be duplicated into all the clones of the current script.

Methods

Events