Roblox API Reference

ScriptDebugger On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.

Tags: [NotCreatable]

Inherits (1)

Member index (22)

Type Member History
int CurrentLine
bool IsDebugging
bool IsPaused
Instance Script 329
Instance AddWatch (string expression)
Objects GetBreakpoints ()
Map GetGlobals (int stackFrame = 0) 428
Map GetLocals (int stackFrame = 0)
Array GetStack ()
Map GetUpvalues (int stackFrame = 0)
Variant GetWatchValue (Instance watch)
Objects GetWatches ()
Instance SetBreakpoint (int line, bool isContextDependentBreakpoint) 429 428 429 437
null SetGlobal (string name, Variant value, int stackFrame) 450 573
null SetLocal (string name, Variant value, int stackFrame = 0) 573
null SetUpvalue (string name, Variant value, int stackFrame = 0) 573
BreakpointAdded (Instance breakpoint)
BreakpointRemoved (Instance breakpoint)
EncounteredBreak (int line, BreakReason breakReason) 391
Resuming ()
WatchAdded (Instance watch)
WatchRemoved (Instance watch)
57 members inherited from Instance

Removed member index (4)

Type Member History
void Resume () 155 425
void StepIn () 155 425
void StepOut () 155 425
void StepOver () 155 425

History

Members

AddWatch On DevHub

Name Type Default
expression string none

BreakpointAdded On DevHub

Name Type Default
breakpoint Instance none

BreakpointRemoved On DevHub

Name Type Default
breakpoint Instance none

CurrentLine On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

EncounteredBreak On DevHub

Name Type Default
line int none
breakReason BreakReason none

History

GetBreakpoints On DevHub

Name Type Default
No parameters.

GetGlobals On DevHub

Name Type Default
stackFrame int 0

History

GetLocals On DevHub

Name Type Default
stackFrame int 0

GetStack On DevHub

Name Type Default
No parameters.

GetUpvalues On DevHub

Name Type Default
stackFrame int 0

GetWatchValue On DevHub

Name Type Default
watch Instance none

GetWatches On DevHub

Name Type Default
No parameters.

IsDebugging On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

IsPaused On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [ReadOnly, NotReplicated]

Resuming On DevHub

Name Type Default
No parameters.

Script On DevHub

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [ReadOnly, NotReplicated]

SetBreakpoint On DevHub

Name Type Default
line int none
isContextDependentBreakpoint bool none

History

SetGlobal On DevHub

Name Type Default
name string none
value Variant none
stackFrame int none

History

SetLocal On DevHub

Name Type Default
name string none
value Variant none
stackFrame int 0

History

SetUpvalue On DevHub

Name Type Default
name string none
value Variant none
stackFrame int 0

History

WatchAdded On DevHub

Name Type Default
watch Instance none

WatchRemoved On DevHub

Name Type Default
watch Instance none

Removed members

Resume

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
No parameters.

History

Tags: [Deprecated]

StepIn

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
No parameters.

History

Tags: [Deprecated]

StepOut

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
No parameters.

History

Tags: [Deprecated]

StepOver

This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
No parameters.

History

Tags: [Deprecated]

Relevant classes (1)

Relevant enums (1)