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.
Summary
Functions
Returns a string of undefined format that describes the current function call stack.
Returns a string of undefined format that describes the current function call stack.
Traverses the entire stack of current thread and returns a string containing the call stack of target level details.
Traverses the entire stack of current thread and returns a string containing the call stack of target function details.
Traverses the entire stack of target thread and returns a string containing the call stack of target level details.
Starts profiling for a label.
Stops profiling for the most recent label that debug.profilebegin() opened.
Returns the name of the current thread's active memory category.
Assigns a custom tag to the current thread's memory category.
Resets the tag assigned by debug.setmemorycategory() to the automatically assigned value (typically, the script name).
Displays a table of native code size of individual functions and scripts.