debug

非推奨を表示

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

概要

関数

関数

traceback

パラメータ

message: string
level: number
既定値: 1

戻り値

traceback

パラメータ

thread: coroutine
message: string
level: number
既定値: 1

戻り値

info

パラメータ

level: number
options: string

戻り値

info

パラメータ

function: function
options: string

戻り値

info

パラメータ

thread: coroutine
level: number
options: string

戻り値

profilebegin

void

パラメータ

label: string

戻り値

void

profileend

void

戻り値

void

getmemorycategory

戻り値

setmemorycategory

パラメータ

tag: string

戻り値

resetmemorycategory

void

戻り値

void