debug

Mostrar obsoleto

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).

Resumo

Funções

Funções

traceback

Parâmetros

message: string
level: number
Valor Padrão: 1

Devolução

traceback

Parâmetros

thread: coroutine
message: string
level: number
Valor Padrão: 1

Devolução

info

Parâmetros

level: number
options: string

Devolução

info

Parâmetros

function: function
options: string

Devolução

info

Parâmetros

thread: coroutine
level: number
options: string

Devolução

profilebegin

void

Parâmetros

label: string

Devolução

void

profileend

void

Devolução

void

getmemorycategory

Devolução

setmemorycategory

Parâmetros

tag: string

Devolução

resetmemorycategory

void

Devolução

void