You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MasterFramework 42/Framework/debug.lua
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,17 @@ function Error(...)
42
42
Spring_Echo(errorString)
43
43
end
44
44
45
+
--[[
46
+
Generates a string detailing the contents of a table - recursively. Calling this,
47
+
48
+
Parameters:
49
+
- `table`: the table whose contents are to be displayed
50
+
- `name`: an optional string describing the table provided - e.g. the key used to access this table from its parent table
51
+
- `indentation`: an optional integer indicating how nested this table is. Usually, you will provide `0` or `nil`; this is primarily for the sake of recursion.
52
+
- `describedTables`: a table keyed by tables whose descriptions have been generated. This table is used to avoid infinite recursion in the case of recursive table references.
53
+
54
+
Note: Call this as framework.debugDescription, NOT framework:debugDescription!
0 commit comments