monkey:monkey.debug.GetDebugStack

Function GetDebugStack:String[]( )

Gets the current stack state (debug builds only).

In release mode, an empty array is returned.

Namespace test

Function Test2()
	Print "~n".Join( GetDebugStack() )
End

Function Test()
	Test2()
End

Function Main()
	Test()
End