I know, but the question came up while bug checking my game. I wanted to track a Runtime enterFrame listener (well, just for quriosity
I know, but the question came up while bug checking my game. I wanted to track a Runtime enterFrame listener (well, just for curiosity really), I started to track all my objects in the Runtime environment on each enterFrame and exitFrame events, after and before transitions (I use storyboard in this project) so when I do:
[lua]
for k, v in pairs(Runtime._functionListeners) do
print( k, v )
end
[/lua]
I get the enterFrame as the key and I get the table name (i.e 0x10c02d460) as the value
this name is the same as long as this particular table exist so between the adding and removing of Runtime objects I can tell which of them that is potentially bugging me 