Quantcast
WoWInterface - View Single Post - Finding Frames of other Addons and overwriting their position
View Single Post
06-22-19, 08:43 AM   #7
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 101
No, no error. Its just silently crashing. The code after the loop is also not continuing.

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

print("done");
So in thise case after child number 223 it is silently erroring out and the done
is never getting printed.
  Reply With Quote