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

Page Links


Special Pages


Wikis

?

Render Time: 23ms

Session 0
DB GetPage 5
Generate Html 0
SaveChanges 9
Render Body 0
Render Sidebar 6