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

void

Parameters

label: string

Returns

void

profileend

void

Returns

void

getmemorycategory

Returns

setmemorycategory

Parameters

tag: string

Returns

resetmemorycategory

void

Returns

void

dumpcodesize

void

Returns

void