debug

非推奨を表示

*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。

Roblox でコードをデバッグするためのいくつかの基本機能を提供します。Lua のネイティブバージョンで見つかる debug ライブラリとは異なり、このバージョンは強力にサンドボックス化されています。

概要

関数

関数

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

()

パラメータ

label: string

戻り値

()

profileend

()

戻り値

()

getmemorycategory

戻り値

setmemorycategory

パラメータ

tag: string

戻り値

resetmemorycategory

()

戻り値

()

dumpcodesize

()

戻り値

()