I think you want to do:
Lua Code:
hooksecurefunc(SomeDopeyFrameName, "OnUpdate", function(self, elapsed)
print(self:GetName(), elapsed)
end)
hooksecurefunc is designed to catch secure but mainly global functions, so thats why it might not be able to handle local ones.