Skip to main content

Module debug

Module debug 

Source
Expand description

Lua debugging interface.

This module provides access to the Lua debug interface, allowing inspection of the call stack, and function information. The main types are Debug for accessing debug information and HookTriggers for configuring debug hooks.

Structs§

Debug
Contains information about currently executing Lua code.
DebugNames
Contains the name information of a function in the call stack.
DebugSource
Contains the source information of a function in the call stack.
DebugStack
Contains stack information about a function in the call stack.
HookTriggersNon-luau
Determines when a hook function will be called by Lua.

Enums§

DebugEventNon-luau
Represents a specific event that triggered the hook.