Roblox Wiki
Advertisement
Roblox Wiki
Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.

The ScriptDebugger class, added in version 0.68, inherits from Instance. It cannot be instantiated.

Properties

CurrentLine: int

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/CurrentLine.
  • Category: Data.
  • Serialization: cannot load or save.
  • Thread safety: read safe

IsDebugging: bool

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/IsDebugging.
  • Category: Data.
  • Serialization: cannot load or save.
  • Thread safety: read safe

IsPaused: bool

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/IsPaused.
  • Category: Data.
  • Serialization: cannot load or save.
  • Thread safety: read safe

Script: Instance

  • Read-onlyThis property is capable of being read but not written.
  • Not replicatedThis member is not replicated across the network boundary.
This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/Script.
  • Category: Data.
  • Serialization: cannot load or save.
  • Thread safety: read safe

Methods

AddWatch(expression: string): Instance

Parameters
NameType
expressionstring
  • Thread safety: unsafe

GetBreakpoints(): Objects

This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/GetBreakpoints.
  • Thread safety: unsafe

GetGlobals(stackFrame: int = 0): Map

Parameters
NameTypeDefault
stackFrameint0
  • Thread safety: unsafe

GetLocals(stackFrame: int = 0): Map

Parameters
NameTypeDefault
stackFrameint0
  • Thread safety: unsafe

GetStack(): Array

This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/GetStack.
  • Thread safety: unsafe

GetUpvalues(stackFrame: int = 0): Map

Parameters
NameTypeDefault
stackFrameint0
  • Thread safety: unsafe

GetWatchValue(watch: Instance): Variant

Parameters
NameType
watchInstance
  • Thread safety: unsafe

GetWatches(): Objects

This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/GetWatches.
  • Thread safety: unsafe

SetBreakpoint(line: int, isContextDependentBreakpoint: bool): Instance

Parameters
NameType
lineint
isContextDependentBreakpointbool
  • Thread safety: unsafe

SetGlobal(name: string, value: Variant, stackFrame: int): null

Parameters
NameType
namestring
valueVariant
stackFrameint
  • Thread safety: unsafe

SetLocal(name: string, value: Variant, stackFrame: int = 0): null

Parameters
NameTypeDefault
namestring
valueVariant
stackFrameint0
  • Thread safety: unsafe

SetUpvalue(name: string, value: Variant, stackFrame: int = 0): null

Parameters
NameTypeDefault
namestring
valueVariant
stackFrameint0
  • Thread safety: unsafe

Events

BreakpointAdded(breakpoint: Instance)

Parameters
NameType
breakpointInstance
  • Thread safety: unsafe

BreakpointRemoved(breakpoint: Instance)

Parameters
NameType
breakpointInstance
  • Thread safety: unsafe

EncounteredBreak(line: int, breakReason: BreakReason)

Parameters
NameType
lineint
breakReasonBreakReason
  • Thread safety: unsafe

Resuming()

This class member is missing documentation. Create or add to its subpage at Class:ScriptDebugger/Resuming.
  • Thread safety: unsafe

WatchAdded(watch: Instance)

Parameters
NameType
watchInstance
  • Thread safety: unsafe

WatchRemoved(watch: Instance)

Parameters
NameType
watchInstance
  • Thread safety: unsafe

Removed members

Methods

  • Resume
  • StepIn
  • StepOut
  • StepOver

External links[]

Advertisement