How to get the console to print expanded table, not the table address

When I print a table, instead of printing a collapsed/expanded table, it prints the address. Is this feature even enabled??? It would be super convenient if it is enabled. If it is, how can I enable it?
Screenshot 2023-07-02 193900

2 Likes

This should be the solution, you can even un-check to show the memory addresses for expanded tables.

image

2 Likes

If you want to display it in in-game output, you may use JSON to encode and then print it.

Implementation:

local HttpService= game:GetService("HttpService")

local Table = {1, 2}
local AnotherTable = {["Coins"] = 100; ["Keys"]  = 2}

print(HttpService:JSONEncode(Table))
print(HttpService:JSONEncode(AnotherTable))

-- Output:
-- Table 1: [1, 2] 
-- Table 2:  {"Keys": 2, "Coins": 100}

1 Like

it is already checked:
image

1 Like

Disable Log Mode.

“Log Mode” disables special debugging features, such as that. As its name suggests, it is primarily for logging purposes.

It functions similarly to the in-game console we see when pressing F9 or using /console in chat.

For more information, visit:

4 Likes