debug

Show Deprecated

Provides a few basic functions for debugging code in Roblox. Unlike the debug library found in Lua natively, this version has been heavily sandboxed.

Summary

Functions

Functions

traceback

Parameters

message: string
level: number
Default Value: 1

Returns

traceback

Parameters

thread: coroutine
message: string
level: number
Default Value: 1

Returns

info

Parameters

level: number
options: string

Returns

info

Parameters

function: function
options: string

Returns

info

Parameters

thread: coroutine
level: number
options: string

Returns

profilebegin

()

Parameters

label: string

Returns

()

profileend

()

Returns

()

getmemorycategory

Returns

setmemorycategory

Parameters

tag: string

Returns

resetmemorycategory

()

Returns

()

dumpcodesize

()

Returns

()