I'm writing some obfuscated code, but as the script is progressing it's getting more and more difficult to track variables. For example I have at the top of the script:
aP = "getElementsByTagName";
But further on in the script aP might become something else. When you're dealing with a lot of variables it gets tedious for the mind to track what's actually going on.
Are there any IDE's that are able to map where each variable is pointing to? Or to build a sort of tree like view similar to how IDA does when reverse engineering?
I'm using JavaScript for this by the way and working on a Mac. I already own BBEdit so I'm not sure if theres any helpful plugins for that.