debug

Visualizza obsoleti

Provides a few basic functions for debugging code in Roblox. Unlike the debug library found in Lua natively, this version has been heavily sandboxed. Roblox does, however, have debugging functionality similar to Lua's native debugging functionality (see the Class.DebuggerManager class).

Sommario

Funzioni

Funzioni

traceback

Parametri

message: string
level: number
Valore predefinito: 1

Restituzioni

traceback

Parametri

thread: coroutine
message: string
level: number
Valore predefinito: 1

Restituzioni

info

Parametri

level: number
options: string

Restituzioni

info

Parametri

function: function
options: string

Restituzioni

info

Parametri

thread: coroutine
level: number
options: string

Restituzioni

profilebegin

void

Parametri

label: string

Restituzioni

void

profileend

void

Restituzioni

void

getmemorycategory

Restituzioni

setmemorycategory

Parametri

tag: string

Restituzioni

resetmemorycategory

void

Restituzioni

void