debug.Trace

From Garry's Mod
Jump to: navigation, search
 debug.Trace( )

Description

Prints out the lua function call stack to the console.

Examples

Example

Prints the current call stack.

debug.Trace()

Output:

Trace: 
 1: Line 32 "Trace" lua/includes/extensions/debug.lua
 2: Line 1 "(null)" LuaCmd
Personal tools
Navigation