View Single Post
04-21-16, 08:01 PM   #132
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Originally Posted by Gello View Post
Originally Posted by SDPhantom View Post
I don't even use the built-in /dump command. I made my own that handles circular and back references better. Anyway, I managed to load my development environment and a slimmed-down version of SlashHelp.
Yes I made one in 2005 it's not hard to do.
It depends on how much you want to support with it. I've seen many implementations that recursively call functions, which can lead to troubles depending on how deep a table goes. There is a limit to how big your call stack can get. I haven't seen many that won't go into an infinite loop when a circular reference is encountered. For example, _G._G=_G
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote