ScriptDebugger

extends Instance

Class fields

FieldXML typeValue
NamestringScriptDebugger

Properties

5
CurrentLine
int
FieldXML typeValue
NamestringCurrentLine
IsDebugging
bool
FieldXML typeValue
NamestringIsDebugging
IsPaused
bool
FieldXML typeValue
NamestringIsPaused
Script
Object
FieldXML typeValue
NamestringScript
ScriptPath
string
FieldXML typeValue
NamestringScriptPath

Functions

16
AddWatch
(expression: string) → Instance
FieldXML typeValue
NamestringAddWatch
GetBreakpoints
() → Objects
FieldXML typeValue
NamestringGetBreakpoints
GetGlobals
() → Map
FieldXML typeValue
NamestringGetGlobals
GetLocals
(stackFrame: int = …) → Map
FieldXML typeValue
NamestringGetLocals
GetStack
() → Array
FieldXML typeValue
NamestringGetStack
GetUpvalues
(stackFrame: int = …) → Map
FieldXML typeValue
NamestringGetUpvalues
GetWatchValue
(watch: Instance) → Variant
FieldXML typeValue
NamestringGetWatchValue
GetWatches
() → Objects
FieldXML typeValue
NamestringGetWatches
Resume
() → void
FieldXML typeValue
NamestringResume
SetBreakpoint
(line: int) → Instance
FieldXML typeValue
NamestringSetBreakpoint
SetGlobal
(name: string, value: Variant) → void
FieldXML typeValue
NamestringSetGlobal
SetLocal
(name: string, value: Variant, stackFrame: int = …) → void
FieldXML typeValue
NamestringSetLocal
SetUpvalue
(name: string, value: Variant, stackFrame: int = …) → void
FieldXML typeValue
NamestringSetUpvalue
StepIn
() → void
FieldXML typeValue
NamestringStepIn
StepOut
() → void
FieldXML typeValue
NamestringStepOut
StepOver
() → void
FieldXML typeValue
NamestringStepOver

Events

6
BreakpointAdded
(breakpoint: Instance) → void
FieldXML typeValue
NamestringBreakpointAdded
BreakpointRemoved
(breakpoint: Instance) → void
FieldXML typeValue
NamestringBreakpointRemoved
EncounteredBreak
(line: int) → void
FieldXML typeValue
NamestringEncounteredBreak
Resuming
() → void
FieldXML typeValue
NamestringResuming
WatchAdded
(watch: Instance) → void
FieldXML typeValue
NamestringWatchAdded
WatchRemoved
(watch: Instance) → void
FieldXML typeValue
NamestringWatchRemoved