Expressive Output Window / Debugger - Show instance name instead of reference inside a table

As a Roblox developer, it is currently too hard to interact with tables when an instance is used as an index in a table.

local parts = {}
for i=1, 10 do
	local part ="Part", workspace)
	part.Name = "Part" .. i

print("Expressive Window:")

for i, v in pairs(parts) do
	print(i, "=", v)

… will print:

In the Expressive Output example above, it’s impossible to know which part is being referenced.

If Roblox is able to address this issue, it would improve my development experience because it will allow knowing the correct instance name, not a single reference.


Also, it would be very important to show the instance names in the index alphabetically ordered.


This request must also be extended to the debugger. When unfolding a table while debugging, the same happens:

This is a suggestion from almost 3 years…
Do you think it’s possible for this to be implemented?

Thanks for bringing this back up. I’ll brush the dust off of the ticket we originally filed for this and take a look (though if I recall there were some issues that made it harder than it looks from a technical standpoint).

1 Like