DebuggerManager

Show Deprecated
Not Creatable
Service
Not Replicated

The DebuggerManager is a special singleton class responsible for managing Roblox's Lua Debugger feature. It can be retrieved via the DebuggerManager() function, but only from the command bar.

Summary

Properties

Whether the debugger is enabled or disabled.

READ ONLY
NOT REPLICATED

Methods


Registers a script to be used in the Lua Debugger. Returns a ScriptDebugger for the script.


Returns a list of ScriptDebugger present in the experience.

Resume(): void  

Resumes the Lua Debugger if it is paused.

Events


Fires when a new ScriptDebugger is created through the DebuggerManager:AddDebugger() method.


Fires when a registered ScriptDebugger has been discontinued.

Properties

DebuggingEnabled

Read Only
Not Replicated

Whether the debugger is enabled or disabled.

Methods

AddDebugger

Registers a script to be used in the Lua Debugger. Returns a ScriptDebugger for the script.

Parameters

script: Instance

Returns

GetDebuggers

Returns a list of ScriptDebugger present in the experience.


Returns

Resume

void

Resumes the Lua Debugger if it is paused.


Returns

void

Events

DebuggerAdded

Fires when a new ScriptDebugger is created through the DebuggerManager:AddDebugger() method.

Parameters

debugger: Instance

DebuggerRemoved

Fires when a registered ScriptDebugger has been discontinued.

Parameters

debugger: Instance