debug

Print a stack trace, read facts about a running function, and mark timed scopes that show in View > Window > Profiler.

NameType
debug.infofunction
debug.profilebeginfunction (label): starts a timed scope (nested) that debug.profileend ends; shown in View > Window > Profiler and the frame time box, free while neither is open
debug.profileendfunction (): ends the innermost debug.profilebegin scope; without one it does nothing
debug.tracebackfunction