Hi, thx for your quick reply.
Yes, the code works. But it only prints out 223 children of 398
Code:
print("amount children: " .. UIParent:GetNumChildren());
local children = { UIParent:GetChildren() };
for key, child in ipairs(children) do
local name = child:GetName() or child:GetDebugName();
if name then
print(key .. ": " .. name);
else
print(key .. ": " .. "Not Named");
end
end
I know the names of some frames. "Grid2LayoutFrame" frame for
example is a child of UIParent. Thats what im getting with /framestack.
But this frame is not appearing in the list of frames im printing.
Btw. Not Named is never printed out. Its erroring out after 223 items.