Garry's Mod Wiki

debug.Trace

  debug.Trace()

Description

Prints out the lua function call stack to the console.

Example

Prints the current call stack.

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